1
0
Fork 0

added curly braces + space

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-21 09:30:49 +01:00
parent 47f88bd625
commit bb37cac772

View file

@ -71,14 +71,16 @@ function events_post(&$a) {
if ($adjust) {
$start = datetime_convert(date_default_timezone_get(),'UTC',$start);
if(! $nofinish)
if (! $nofinish) {
$finish = datetime_convert(date_default_timezone_get(),'UTC',$finish);
}
}
else {
$start = datetime_convert('UTC','UTC',$start);
if(! $nofinish)
if (! $nofinish) {
$finish = datetime_convert('UTC','UTC',$finish);
}
}
// Don't allow the event to finish before it begins.
// It won't hurt anything, but somebody will file a bug report