Skip to content

Commit

Permalink
Fix in edit mode, title of event is required
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 7, 2018
1 parent fab007a commit 1a5cc4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/comm/action/card.php
Expand Up @@ -1044,7 +1044,7 @@ function setdatefields()
}

// Title
print '<tr><td'.(empty($conf->global->AGENDA_USE_EVENT_TYPE)?' class="fieldrequired"':'').'>'.$langs->trans("Title").'</td><td colspan="3"><input type="text" name="label" class="soixantepercent" value="'.$object->label.'"></td></tr>';
print '<tr><td class="fieldrequired">'.$langs->trans("Title").'</td><td colspan="3"><input type="text" name="label" class="soixantepercent" value="'.$object->label.'"></td></tr>';

// Full day event
print '<tr><td>'.$langs->trans("EventOnFullDay").'</td><td colspan="3"><input type="checkbox" id="fullday" name="fullday" '.($object->fulldayevent?' checked':'').'></td></tr>';
Expand Down

0 comments on commit 1a5cc4e

Please sign in to comment.