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.
trying to track down a bug in my install make me read again all the code and i have a little note about it : according to http://drupal.org/node/40684 $node parameter should be passed by reference and not by value in some functions. so :
multichoice_insert(&$node)
multichoice_delete(&$node)
quiz_insert(&$node)
quiz_delete($node) ...
further reading at http://api.drupal.org/api/4.7/function/hook_form and http://api.drupal.org/api/4.7/function/hook_delete
i do not provide a patch (sorry, i'm very busy and a bug in my drupal is driving me to a headhache) :)
Comment | File | Size | Author |
---|---|---|---|
#1 | quiz_reference.patch | 1.98 KB | seanbfuller |
Comments
Comment #1
seanbfuller CreditAttribution: seanbfuller commentedPassing the node by reference instead of creating a copy is a performance boost, correct? Committed to HEAD.
Comment #2
(not verified) CreditAttribution: commented