Commit 888748c3 authored by merlinofchaos's avatar merlinofchaos

Fix notice with earlier commit.

parent 97218fe5
......@@ -50,7 +50,9 @@ class views_handler_field_node extends views_handler_field {
$this->options['alter']['path'] = "node/" . $values->{$this->aliases['nid']};
if (isset($this->aliases['language'])) {
$languages = language_list();
$this->options['alter']['language'] = $languages[$values->{$this->aliases['language']}];
if (isset($languages[$values->{$this->aliases['language']}])) {
$this->options['alter']['language'] = $languages[$values->{$this->aliases['language']}];
}
}
}
return $data;
......
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