added curly braces + space
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
47f88bd625
commit
bb37cac772
1 changed files with 13 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue