summaryrefslogtreecommitdiffstats
path: root/handlers
diff options
context:
space:
mode:
authorEarl Miles2009-03-24 22:28:26 +0000
committerEarl Miles2009-03-24 22:28:26 +0000
commit755a2426bc3a22ca3aa7030463c9c97a38ba0a20 (patch)
tree93d2cef780615ec51393248255b460ed31630f26 /handlers
parentefde0b6a3681e36a6efbe05c4e119d08e352a251 (diff)
#350376 by pfournier: Missing "return" statement caused certain argument date validation to fail.
Diffstat (limited to 'handlers')
-rw-r--r--handlers/views_handler_argument_date.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/views_handler_argument_date.inc b/handlers/views_handler_argument_date.inc
index 71c39e6..316d3c1 100644
--- a/handlers/views_handler_argument_date.inc
+++ b/handlers/views_handler_argument_date.inc
@@ -51,7 +51,7 @@ class views_handler_argument_date extends views_handler_argument_formula {
}
if (empty($node)) {
- parent::get_default_argument();
+ return parent::get_default_argument();
}
else if ($this->options['default_argument_type'] == 'node_created') {
return date($this->arg_format, $node->created);