In the set_items method $array is undefined before this point:
if ($this->options['field_api_classes']) {
// Make a copy.
$array = $render_array;
return array(array('rendered' => drupal_render($render_array)));
}
So what is the point assigning $render_array to $array? Isn't this just waste of time?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | views-2834290.patch | 523 bytes | larsmw |
Comments
Comment #2
larsmw commentedComment #3
renatog commentedHi, guys.
I applied the patch and works good for me.
Really make sense @larsmw.
Thank you very much for your contribution.
Regards.
Comment #4
renatog commentedComment #6
damienmckennaCommitted. Thanks.