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.
I got this error when I implemented a hook_menu_link_update() in my module.
http://api.drupal.org/api/drupal/modules--system--system.api.php/functio...
I have read that db_result() was to be removed from Drupal 7. In that case this is a bug. Please fix it!
Comment | File | Size | Author |
---|---|---|---|
#2 | hook_menu_link_insert-api.patch | 749 bytes | lyricnz |
Comments
Comment #1
Damien Tournoud CreditAttribution: Damien Tournoud commentedYes, db_result() was removed from D7. This is a documentation bug.
Comment #2
lyricnz CreditAttribution: lyricnz commentedAttached patch valid for D7/D8
Comment #3
jhodgdonLooks good to me, thanks for the report and the patch!
8.x/7.x please...
Comment #4
webchickCommitted to 8.x and 7.x. Nice catch!