diff --git a/views_or_handler_argument.inc b/views_or_handler_argument.inc index 68aa3c6..fd4909d 100644 --- a/views_or_handler_argument.inc +++ b/views_or_handler_argument.inc @@ -211,14 +211,12 @@ class views_or_handler_argument_next_alternative extends views_or_handler_argume function query() { $this->finish_alternative(); $alt = &$this->query_current_alternative(); - if ($this->view->args[$this->position] != '') { - if ($this->options['share_arguments']) { - array_splice($this->view->args, $this->position, 0, array_slice($this->view->args, $alt['position'], $this->position - $alt['position'])); - $alt['position'] = $this->position; - } - else { - array_splice($this->view->args, $this->position, 0, ''); - } + if ($this->options['share_arguments']) { + array_splice($this->view->args, $this->position, 0, array_slice($this->view->args, $alt['position'], $this->position - $alt['position'])); + $alt['position'] = $this->position; + } + else { + array_splice($this->view->args, $this->position, 0, ''); } } }