Commit 0ae5fd66 authored by jwilson3's avatar jwilson3 Committed by dawehner

Issue #1751424 by Ken Ficara, jwilson3: Undefined index: current_user

parent 9aaf9692
......@@ -419,7 +419,7 @@ class views_handler_argument extends views_handler {
// Let the plugins do validation.
$default_id = $form_state['values']['options']['default_argument_type'];
$plugin = $this->get_plugin('argument default', $default_id);
if ($plugin) {
if ($plugin && isset($form['argument_default'][$default_id]) && isset($form_state['values']['options']['argument_default'][$default_id])) {
$plugin->options_validate($form['argument_default'][$default_id], $form_state, $form_state['values']['options']['argument_default'][$default_id]);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment