mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Avoid some notices
This commit is contained in:
parent
ac86407fdf
commit
4b1de0f538
3 changed files with 12 additions and 11 deletions
|
@ -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'] = (($ev['start'] && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0);
|
||||
return $ev;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue