apps/calendar: check for unset variable
Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
152fc7d94d
commit
842ce24d2b
|
@ -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"];
|
||||||
|
|
Loading…
Reference in New Issue