add missing bracket

2022.09-rc
Erkan Yilmaz 2012-06-13 20:41:53 +02:00
rodzic a424fecdae
commit e8e1de3603
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -87,7 +87,7 @@ function datetime_convert($from = 'UTC', $to = 'UTC', $s = 'now', $fmt = "Y-m-d
$from = 'UTC';
if($to === '')
$to = 'UTC';
if($s === '' || (! is_string($s)))
if( ($s === '') || (! is_string($s)) )
$s = 'now';
// Slight hackish adjustment so that 'zero' datetime actually returns what is intended