summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2011-03-27 14:18:24 (GMT)
committer Daniel Wehner2011-03-27 14:18:44 (GMT)
commit99041c9c9462a86fd20d1e7cbff9e7ee2de9fb74 (patch)
treebb18820490e4646176ffb7828007db9a5c88e79e
parente2d187c765fc469a96fafde0f00ef2759def20a1 (diff)
Issue #1106958: Fixed conversion of validator options
-rw-r--r--handlers/views_handler_argument.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/handlers/views_handler_argument.inc b/handlers/views_handler_argument.inc
index c47d23d..56ee4cc 100644
--- a/handlers/views_handler_argument.inc
+++ b/handlers/views_handler_argument.inc
@@ -95,12 +95,12 @@ class views_handler_argument extends views_handler {
}
if (!empty($options['validate_type']) && !isset($options['validate']['type'])) {
- $options['validate']['type'] = $options['validate_type'];
- $options['specify_validation'] = 1;
+ $this->options['validate']['type'] = $options['validate_type'];
+ $this->options['specify_validation'] = 1;
}
if (!empty($options['validate_fail']) && !isset($options['validate']['fail'])) {
- $options['validate']['fail'] = $options['validate_fail'];
- $options['specify_validation'] = 1;
+ $this->options['validate']['fail'] = $options['validate_fail'];
+ $this->options['specify_validation'] = 1;
}
}