added curly braces + space

Signed-off-by: Roland Häder <roland@mxchange.org>
2022.09-rc
Roland Häder 2016-12-21 09:30:49 +01:00
rodzic 47f88bd625
commit bb37cac772
1 zmienionych plików z 13 dodań i 11 usunięć

Wyświetl plik

@ -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