]> git.mxchange.org Git - friendica.git/commitdiff
add missing bracket
authorErkan Yilmaz <erkan77@gmail.com>
Wed, 13 Jun 2012 18:41:53 +0000 (20:41 +0200)
committerErkan Yilmaz <erkan77@gmail.com>
Wed, 13 Jun 2012 18:41:53 +0000 (20:41 +0200)
include/datetime.php

index f6bf1041e17625fa2a1d37c9e673adbc4bce2659..58a6186108472adc123e1445fa3f2aea69366f70 100644 (file)
@@ -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