diff options
author | friendica <info@friendica.com> | 2012-03-13 14:36:52 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-13 14:36:52 -0700 |
commit | acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214 (patch) | |
tree | 018927c54c16f68aeae7153c81c404d3e9cbbc7d /include/event.php | |
parent | 5a4167646553e589cf9647c0e0d0446e3f5fd672 (diff) | |
parent | 59766b944c9ea3a45b1d7e8593f7bb5d4a0b8445 (diff) | |
download | volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.tar.gz volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.tar.bz2 volse-hubzilla-acc4bbeb6ebc832da2a8b5a37b764a6a53dd1214.zip |
Merge pull request #129 from CatoTH/master
CSRF-Protection and minor changes
Diffstat (limited to 'include/event.php')
-rwxr-xr-x | include/event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/event.php b/include/event.php index 4a9a9a004..29202badd 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; } |