aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorTobias Hößl <tobias@hoessl.eu>2012-02-26 20:43:51 +0000
committerTobias Hößl <tobias@hoessl.eu>2012-02-26 20:43:51 +0000
commit4b1de0f538e6d3f48e2a4d1e82522aced6b08129 (patch)
tree291ab806035cc9ddb61c33fd078d1792ee18a65b /include/event.php
parentac86407fdf34b0bb872da017231a8c23a84f277b (diff)
downloadvolse-hubzilla-4b1de0f538e6d3f48e2a4d1e82522aced6b08129.tar.gz
volse-hubzilla-4b1de0f538e6d3f48e2a4d1e82522aced6b08129.tar.bz2
volse-hubzilla-4b1de0f538e6d3f48e2a4d1e82522aced6b08129.zip
Avoid some notices
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 c7669b381..4a9a9a004 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'] && (! $ev['finish'])) ? 1 : 0);
+ $ev['nofinish'] = (($ev['start'] && (!x($ev, 'finish') || !$ev['finish'])) ? 1 : 0);
return $ev;
}