Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2009 at 16:03 UTC
Updated:
14 Jul 2009 at 19:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
liquixis commentedAlso:
"views_handler_field.inc" -> get_render_tokens()
line "$options = array();" is redundant and useless.
True for 2.5
Comment #2
deekayen commentedAttached patch removes the t() and the $options line. Looks like the $options code block might have been copied from options_form(), where $options is used, but in the case of get_render_tokens(), $options isn't used anywhere in the function before or after it is initialized.
Comment #3
liquixis commenteddeekayen, thanks for the patch
Comment #4
merlinofchaos commentedFixed in 2.x and 3.x branches. The ucwords() was also unnecessary, so at that point I just removed the use of $title altogether.