X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fevent.php;h=29202baddf982417cdf3decedc3f0b69be539dc8;hb=b618715fc676fce71303816c0d49d8aad8beb0b6;hp=4a9a9a0041e40ec6318070806ec9add4be990333;hpb=89560edde2fe3fb198b558479e9c2300fc4185fd;p=friendica.git diff --git a/include/event.php b/include/event.php old mode 100755 new mode 100644 index 4a9a9a0041..29202baddf --- 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; }