aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-02-27 22:01:17 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-02-27 22:01:17 +0000
commit35128ef2c95d8f76afd3edea594623cc265da673 (patch)
tree2fc3dfb12c6414470fc7f56da85c7e26846bff5f /include/event.php
parent4b1de0f538e6d3f48e2a4d1e82522aced6b08129 (diff)
downloadvolse-hubzilla-35128ef2c95d8f76afd3edea594623cc265da673.tar.gz
volse-hubzilla-35128ef2c95d8f76afd3edea594623cc265da673.tar.bz2
volse-hubzilla-35128ef2c95d8f76afd3edea594623cc265da673.zip
Avoid a Notice
Diffstat (limited to 'include/event.php')
-rwxr-xr-xinclude/event.php2
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;
}