Add one missing return causing db(internal) pass change not to work. Partially, MDL-9491
Add one missing return causing db(internal) pass change not to work.
Partially, MDL-9491

Merged from MOODLE_18_STABLE

dilawar/moodle