Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Since in most cases the call will be performed, there is no time penalty by moving the call at the beginning of the function. And it makes the $id variable available to the spam_log() call within the 1st if() condition.
Comment | File | Size | Author |
---|---|---|---|
spam-6.x-id_not_defined.patch | 1 KB | AlexisWilke |
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedCommitted here:
http://drupal.org/cvs?commit=478128