summaryrefslogtreecommitdiffstats
path: root/apps/calendar/templates
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-12 23:15:19 -0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-12 23:15:19 -0400
commitdf2e788a1c29648d5d01f02166eef6cfb5a526c0 (patch)
treeea66f507aaa9b6236691fc4e6f063d3e4c4e9006 /apps/calendar/templates
parenta7908ba76bd1b973a180eef4adbebbf2d9a1364f (diff)
downloadnextcloud-server-df2e788a1c29648d5d01f02166eef6cfb5a526c0.tar.gz
nextcloud-server-df2e788a1c29648d5d01f02166eef6cfb5a526c0.zip
fix calendarid in eventform and validation of calendarid
Diffstat (limited to 'apps/calendar/templates')
-rw-r--r--apps/calendar/templates/part.eventform.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php
index 36c741b3a39..05e37243a19 100644
--- a/apps/calendar/templates/part.eventform.php
+++ b/apps/calendar/templates/part.eventform.php
@@ -44,7 +44,7 @@ echo 'Calendar.UI.Share.idtype = "event";' . "\n" . 'Calendar.UI.Share.currentid
<?php } else { ?>
<th width="75px">&nbsp;</th>
<td>
- <input type="hidden" name="calendar" value="<?php echo $_['calendar']; ?>">
+ <input type="hidden" name="calendar" value="<?php echo $_['calendar_options'][0]['id']; ?>">
</td>
<?php } ?>
</tr>