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.
new StdClass();
Comment | File | Size | Author |
---|---|---|---|
user.module_59.patch | 775 bytes | RobRoy | |
Comments
Comment #1
Crell CreditAttribution: Crell commentedDoes not defining the object before defining a property of it cause an E_NOTICE error? If so, then +1 RTBC. (The code can't get much simpler.) If not, -1 unnecessary code.
Rob, please confirm. :-)
Comment #2
drummEvery variable should be initialized. Just because we are coding in PHP doesn't mean we should be sloppy.
Don't post patches as ready to commit without review.
Committed to HEAD.
Comment #3
(not verified) CreditAttribution: commented