Commit 0b723029 authored by yched's avatar yched

#147205 - nodereference : fixed 'advanced settings - view arguments' not working.

 - thanks caign and beholder
parent eb00d9ff
......@@ -403,9 +403,9 @@ function _nodereference_potential_references($field, $return_full_nodes = FALSE,
// arguments for the view
$view_args = array();
if (isset($field['view_args'])) {
if (isset($field['advanced_view_args'])) {
// TODO: Support Tokens using token.module ?
$view_args = array_map(trim, explode(',', $field['view_args']));
$view_args = array_map(trim, explode(',', $field['advanced_view_args']));
}
if (isset($string)) {
......
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