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.
Another PHP 5.3 E_NOTICE issue but it's quick to fix this one. The code shouldn't assume $account->force_password_change is set, and should explicitly check this. I've attached a really simple patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | login_destination_1307448_notice.patch | 688 bytes | Berdir |
login_destination_force_password_change.patch | 792 bytes | chriscohen | |
Comments
Comment #1
BerdirHas nothing to do with PHP 5.3, this is just an E_NOTICE. Fix is correct though, re-uploading the same patch with the correct path.
Comment #2
rsvelko CreditAttribution: rsvelko as a volunteer commentedsaw this simple one and although late, commiting now better than never.
PS. using isset() + check if true instead of !empty. That way is better/safer.
Comment #4
rsvelko CreditAttribution: rsvelko as a volunteer commented