Title says it all. The cause is a simple bad check:
1) "off" translates to 0 internally
2) you do a "if ($line_number)" check, and since it's 0, one is unable to override the setting
Patch attached. Changes similar nearby checks as well for consistency. Super simple patch, hence RTBC.
| Comment | File | Size | Author |
|---|---|---|---|
| linenumber_override.patch | 969 bytes | wim leers |
Comments
Comment #1
soxofaan commentedbedankt
http://drupal.org/cvs?commit=162480 (DRUPAL-5--2)
http://drupal.org/cvs?commit=162481 (HEAD)