apps/calendar: check for unset variable

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2011-09-24 11:09:32 +02:00
parent 152fc7d94d
commit 842ce24d2b
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ class OC_Calendar_Object{
{ {
$title = $request["title"]; $title = $request["title"];
$location = $request["location"]; $location = $request["location"];
$categories = $request["categories"]; $categories = isset($request["categories"]) ? $request["categories"] : null;
$allday = isset($request["allday"]); $allday = isset($request["allday"]);
$from = $request["from"]; $from = $request["from"];
$fromtime = $request["fromtime"]; $fromtime = $request["fromtime"];