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.
The guestbook_visited variable is not save correctly at the user object as the data property is not used. It is a very similar bug as reported in http://drupal.org/node/1854020
Currently:
user_save($account, array('guestbook_visited' => time()));
Correct:
user_save($account, array('data' => array('guestbook_visited' => time())));
Comment | File | Size | Author |
---|---|---|---|
#1 | guestbook_visited-1885176-1.patch | 978 bytes | valderama |
Comments
Comment #1
valderama CreditAttribution: valderama commentedComment #2
valderama CreditAttribution: valderama commentedComment #3
valderama CreditAttribution: valderama commented