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

mjgruta’s picture

I agree with djdevin

djdevin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)