added curly braces + space
Signed-off-by: Roland Häder <roland@mxchange.org> Conflicts: mod/events.php
This commit is contained in:
parent
b580c23844
commit
7f98c8086c
1 changed files with 11 additions and 9 deletions
|
@ -72,14 +72,16 @@ function events_post(App &$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
|
||||
|
|
Loading…
Reference in a new issue