mirror of
https://github.com/friendica/friendica
synced 2025-01-09 19:24:48 +00:00
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) {
|
if ($adjust) {
|
||||||
$start = datetime_convert(date_default_timezone_get(),'UTC',$start);
|
$start = datetime_convert(date_default_timezone_get(),'UTC',$start);
|
||||||
if(! $nofinish)
|
if (! $nofinish) {
|
||||||
$finish = datetime_convert(date_default_timezone_get(),'UTC',$finish);
|
$finish = datetime_convert(date_default_timezone_get(),'UTC',$finish);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
$start = datetime_convert('UTC','UTC',$start);
|
$start = datetime_convert('UTC','UTC',$start);
|
||||||
if(! $nofinish)
|
if (! $nofinish) {
|
||||||
$finish = datetime_convert('UTC','UTC',$finish);
|
$finish = datetime_convert('UTC','UTC',$finish);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Don't allow the event to finish before it begins.
|
// Don't allow the event to finish before it begins.
|
||||||
// It won't hurt anything, but somebody will file a bug report
|
// It won't hurt anything, but somebody will file a bug report
|
||||||
|
|
Loading…
Reference in a new issue