From: Tobias Hößl Date: Mon, 27 Feb 2012 22:01:17 +0000 (+0000) Subject: Avoid a Notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35128ef2c95d8f76afd3edea594623cc265da673;p=friendica.git Avoid a Notice --- diff --git a/include/event.php b/include/event.php index 4a9a9a0041..29202baddf 100755 --- a/include/event.php +++ b/include/event.php @@ -163,7 +163,7 @@ function bbtoevent($s) { if(preg_match("/\[event\-adjust\](.*?)\[\/event\-adjust\]/is",$s,$match)) $ev['adjust'] = $match[1]; $match = ''; - $ev['nofinish'] = (($ev['start'] && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0); + $ev['nofinish'] = (((x($ev, 'start') && $ev['start']) && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0); return $ev; }