aboutsummaryrefslogtreecommitdiff
path: root/mod/logbrowser/views/default/forms
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-03-30 10:45:39 -0400
committercash <cash.costello@gmail.com>2013-03-30 10:45:39 -0400
commit5b4d84398065f09da522aa0e1b239cce9dc6e7bb (patch)
treeaaf87c2a077a521935ca00992a4b53b957f9e3ae /mod/logbrowser/views/default/forms
parent369245047ddb2943c52ad9d8847e75b69af6d4b4 (diff)
downloadelgg-5b4d84398065f09da522aa0e1b239cce9dc6e7bb.tar.gz
elgg-5b4d84398065f09da522aa0e1b239cce9dc6e7bb.tar.bz2
Fixes #4587 not passing empty string to date()
Diffstat (limited to 'mod/logbrowser/views/default/forms')
-rw-r--r--mod/logbrowser/views/default/forms/logbrowser/refine.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/logbrowser/views/default/forms/logbrowser/refine.php b/mod/logbrowser/views/default/forms/logbrowser/refine.php
index ebf7f10ed..3d081c9c2 100644
--- a/mod/logbrowser/views/default/forms/logbrowser/refine.php
+++ b/mod/logbrowser/views/default/forms/logbrowser/refine.php
@@ -9,12 +9,12 @@
* @uses $vars['timeupper']
*/
-if (isset($vars['timelower'])) {
+if (isset($vars['timelower']) && $vars['timelower']) {
$lowerval = date('r', $vars['timelower']);
} else {
$lowerval = "";
}
-if (isset($vars['timeupper'])) {
+if (isset($vars['timeupper']) && $vars['timeupper']) {
$upperval = date('r', $vars['timeupper']);
} else {
$upperval = "";