diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-09-24 11:09:32 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2011-09-24 18:42:07 +0200 |
commit | 842ce24d2b17685c27eabdd2d0bb01899efdbc6f (patch) | |
tree | 70c66381ebb5221547e881c99dc2b435e26e97e4 /apps | |
parent | 152fc7d94d71c178079388eaeb38c3e4b40fe080 (diff) | |
download | nextcloud-server-842ce24d2b17685c27eabdd2d0bb01899efdbc6f.tar.gz nextcloud-server-842ce24d2b17685c27eabdd2d0bb01899efdbc6f.zip |
apps/calendar: check for unset variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/calendar/lib/object.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index 4b95f8c2ce3..0c7649776d5 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -426,7 +426,7 @@ class OC_Calendar_Object{ { $title = $request["title"]; $location = $request["location"]; - $categories = $request["categories"]; + $categories = isset($request["categories"]) ? $request["categories"] : null; $allday = isset($request["allday"]); $from = $request["from"]; $fromtime = $request["fromtime"]; |