summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2008-06-03 23:54:27 (GMT)
committer Earl Miles2008-06-03 23:54:27 (GMT)
commit1f6df2bac3c59e6c5026d8ed7f34e95d4cc3731e (patch)
treeb07712f2aee36d8e34a339622b1ead628f91566f
parent9efcaee50240f3a2799067f5114e9bef0198aa2a (diff)
#265442 by aclight: return FALSE instead of NULL to the menu system when an argument does not validate.
-rw-r--r--views.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.module b/views.module
index eab0bc4..7a8082f 100644
--- a/views.module
+++ b/views.module
@@ -194,7 +194,7 @@ function views_arg_load($value, $name, $display_id, $index) {
if (isset($indexes[$index])) {
if (isset($view->argument[$indexes[$index]])) {
- return $view->argument[$indexes[$index]]['handler']->validate_argument($value) ? $value : NULL;
+ return $view->argument[$indexes[$index]]['handler']->validate_argument($value) ? $value : FALSE;
}
}
}