diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-09-01 16:54:25 +0200 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-09-01 16:54:25 +0200 |
commit | 8cbe66b5c1b7de8159783c411d71d4637eff368e (patch) | |
tree | 7dd372b3ff6f4287512da0fc1e3c4361839fb55f /apps/calendar/ajax/newevent.php | |
parent | 58129f9a119fb9df977ac99d18cc3dac1cad4fec (diff) | |
download | nextcloud-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-x | apps/calendar/ajax/newevent.php | 3 |
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"]; |