Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-09-24 13:09:32 +0400
committerFlorian Pritz <bluewind@xinu.at>2011-09-24 20:42:07 +0400
commit842ce24d2b17685c27eabdd2d0bb01899efdbc6f (patch)
tree70c66381ebb5221547e881c99dc2b435e26e97e4 /apps/calendar
parent152fc7d94d71c178079388eaeb38c3e4b40fe080 (diff)
apps/calendar: check for unset variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/lib/object.php2
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"];