aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErkan Yilmaz <erkan77@gmail.com>2012-06-13 20:41:53 +0200
committerErkan Yilmaz <erkan77@gmail.com>2012-06-13 20:41:53 +0200
commite8e1de36031fcd1adb569f66dcaedecaa8284bd6 (patch)
tree278c7c37dc4dde49c88a8a4811468035f78d2156
parenta424fecdae3b54b47778ed7a52452ff80c2bf631 (diff)
downloadvolse-hubzilla-e8e1de36031fcd1adb569f66dcaedecaa8284bd6.tar.gz
volse-hubzilla-e8e1de36031fcd1adb569f66dcaedecaa8284bd6.tar.bz2
volse-hubzilla-e8e1de36031fcd1adb569f66dcaedecaa8284bd6.zip
add missing bracket
-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