aboutsummaryrefslogtreecommitdiffstats
path: root/include/datetime.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-06-13 16:21:15 -0700
committerfriendica <info@friendica.com>2012-06-13 16:21:15 -0700
commit36491462ba0f2bd5e62d1139341fbd7eee0515f6 (patch)
tree89f0e18da638900fdb2d2f432f36fbdc9053db72 /include/datetime.php
parentd908c9dd7196276e1364f77abb053aba3dce77af (diff)
parente8e1de36031fcd1adb569f66dcaedecaa8284bd6 (diff)
downloadvolse-hubzilla-36491462ba0f2bd5e62d1139341fbd7eee0515f6.tar.gz
volse-hubzilla-36491462ba0f2bd5e62d1139341fbd7eee0515f6.tar.bz2
volse-hubzilla-36491462ba0f2bd5e62d1139341fbd7eee0515f6.zip
Merge pull request #333 from Erkan-Yilmaz/master
missing bracket
Diffstat (limited to 'include/datetime.php')
-rw-r--r--include/datetime.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/datetime.php b/include/datetime.php
index f6bf1041e..58a618610 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