Browse Source

Fix PHP warning.

Julio Montoya 9 years ago
parent
commit
30ed5f2e3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/inc/lib/agenda.lib.php

+ 1 - 1
main/inc/lib/agenda.lib.php

@@ -1573,7 +1573,7 @@ class Agenda
                     continue;
                 }
 
-                $eventsAdded[] = $row['unique_id'];
+                $eventsAdded[] = $event['unique_id'];
                 $attachment = $this->getAttachment($row['id'], $courseInfo);
 
                 if (!empty($attachment)) {