d6lts / drupal

Fork of Drupal core for Drupal 6 LTS support.
https://www.drupal.org
GNU General Public License v2.0
130 stars 45 forks source link

fix fn arguments #45

Closed kaznovac closed 3 years ago

kaznovac commented 5 years ago

fix parenthesis

rmuit commented 3 years ago

+1.

This is a fix to a syntax 'bug' introduced in D6LTS 6.42 (and a Tag1 release, probably 6.38-p2?), so that's an argument for including this PR. The 'bug' being: at this moment, an error of type E_USER_NOTICE is triggered, instead of of the intended E_USER_WARNING. Not that it makes much of a difference with the current drupal_error_handler()...

(Plus why not fix the same thing in blogapi.module at the same time...)

dsnopek commented 3 years ago

Thanks!