Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
is this really necessary? quiz_get_score_data requires an array of nids, but they have to be integers (typecast).
even node_load only requires the nid to be numeric (is_numeric) - which is (I think better) because when $node is passed through node api, hooks, etc. it is usually always a string integer.
just a suggestion to change is_int() to is_numeric() in quiz_get_score_data()
thanks :)
Comments
Comment #1
mjgruta CreditAttribution: mjgruta commentedI agree with djdevin
Comment #2
djdevin