X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fevent.php;h=29202baddf982417cdf3decedc3f0b69be539dc8;hb=19eaed60d57e0db936b4161d1976243cb322efc2;hp=c7669b381c7305441d427cf9dba291f778c2247a;hpb=00c342e13d833fd215e5dc03a508e1abe660fe21;p=friendica.git diff --git a/include/event.php b/include/event.php old mode 100644 new mode 100755 index c7669b381c..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'] && (! $ev['finish'])) ? 1 : 0); + $ev['nofinish'] = (((x($ev, 'start') && $ev['start']) && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0); return $ev; }