summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax/newevent.php
diff options
context:
space:
mode:
authorGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-01 16:54:25 +0200
committerGeorg Ehrke <georg.stefan.germany@googlemail.com>2011-09-01 16:54:25 +0200
commit8cbe66b5c1b7de8159783c411d71d4637eff368e (patch)
tree7dd372b3ff6f4287512da0fc1e3c4361839fb55f /apps/calendar/ajax/newevent.php
parent58129f9a119fb9df977ac99d18cc3dac1cad4fec (diff)
downloadnextcloud-server-8cbe66b5c1b7de8159783c411d71d4637eff368e.tar.gz
nextcloud-server-8cbe66b5c1b7de8159783c411d71d4637eff368e.zip
bug fixes at new event form (categorie and calendar)
Diffstat (limited to 'apps/calendar/ajax/newevent.php')
-rwxr-xr-xapps/calendar/ajax/newevent.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/calendar/ajax/newevent.php b/apps/calendar/ajax/newevent.php
index 8ea39c2346c..f3b95aae4ba 100755
--- a/apps/calendar/ajax/newevent.php
+++ b/apps/calendar/ajax/newevent.php
@@ -27,8 +27,7 @@ if(!OC_USER::isLoggedIn()) {
$title = $_POST["title"];
$location = $_POST["location"];
$cat = $_POST["cat"];
-$cal = $_POST["cal"];
-$cal = "1";
+$cal = str_replace("option_","", $_POST["cal"]);
$allday = $_POST["allday"];
$from = $_POST["from"];
$fromtime = $_POST["fromtime"];