Fix missing buttons see #7793

1.10.x
Julio Montoya 10 years ago
parent 0672f0386c
commit e5b483a2d9
  1. 2
      main/inc/lib/agenda.lib.php

@ -1602,10 +1602,12 @@ class Agenda
if (api_is_allowed_to_edit() && $this->type == 'course') {
$event['editable'] = true;
if (!empty($session_id)) {
if ($coachCanEdit == false) {
$event['editable'] = false;
}
}
}
if (!empty($row['start_date']) && $row['start_date'] != '0000-00-00 00:00:00') {
$event['start'] = $this->formatEventDate($row['start_date']);

Loading…
Cancel
Save