diff options
author | Erkan Yilmaz <erkan77@gmail.com> | 2012-06-13 20:41:53 +0200 |
---|---|---|
committer | Erkan Yilmaz <erkan77@gmail.com> | 2012-06-13 20:41:53 +0200 |
commit | e8e1de36031fcd1adb569f66dcaedecaa8284bd6 (patch) | |
tree | 278c7c37dc4dde49c88a8a4811468035f78d2156 /include | |
parent | a424fecdae3b54b47778ed7a52452ff80c2bf631 (diff) | |
download | volse-hubzilla-e8e1de36031fcd1adb569f66dcaedecaa8284bd6.tar.gz volse-hubzilla-e8e1de36031fcd1adb569f66dcaedecaa8284bd6.tar.bz2 volse-hubzilla-e8e1de36031fcd1adb569f66dcaedecaa8284bd6.zip |
add missing bracket
Diffstat (limited to 'include')
-rw-r--r-- | include/datetime.php | 2 |
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 |