From: Erkan Yilmaz Date: Wed, 13 Jun 2012 18:41:53 +0000 (+0200) Subject: add missing bracket X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e8e1de36031fcd1adb569f66dcaedecaa8284bd6;p=friendica.git add missing bracket --- diff --git a/include/datetime.php b/include/datetime.php index f6bf1041e1..58a6186108 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -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