aboutsummaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-26 17:07:52 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-26 17:07:52 +0000
commit65c00ba1223eb97ff618fd661402a74c037c58cd (patch)
tree3f22f787cda6dead8286e5433caf63114df6f2da /includes
parenta02ca8fd76dfa6b0f280780f76fb9bfce5a9fd36 (diff)
downloadphpicalendar-65c00ba1223eb97ff618fd661402a74c037c58cd.tar.gz
phpicalendar-65c00ba1223eb97ff618fd661402a74c037c58cd.tar.bz2
phpicalendar-65c00ba1223eb97ff618fd661402a74c037c58cd.zip
squelch warnings in event.php
Diffstat (limited to 'includes')
-rw-r--r--includes/event.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/event.php b/includes/event.php
index fe03042..a198469 100644
--- a/includes/event.php
+++ b/includes/event.php
@@ -28,6 +28,7 @@ if ($event['description']) $event['description'] = ereg_replace("[[:alpha:]]+://
if (isset($organizer) && is_array($organizer)) {
$i=0;
$display .= $lang['l_organizer'] . ' - ';
+ $organizers = array();
foreach ($organizer as $val) {
$organizers[] = $organizer[$i]["name"];
$i++;
@@ -37,6 +38,7 @@ if (isset($organizer) && is_array($organizer)) {
if (isset($attendee) && is_array($attendee)) {
$i=0;
$display .= $lang['l_attendee'] . ' - ';
+ $attendees = array();
foreach ($attendee as $val) {
$attendees[] .= $attendee[$i]["name"];
$i++;

© 2014-2022 Faster IT GmbH | imprint | privacy policy