Correct misleading error message in upgrade_activity_modules. Spotted while diagnosing MDL-11732. Merged from MOODLE_19_STABLE.
Correct misleading error message in upgrade_activity_modules. Spotted while diagnosing MDL-11732. Merged from MOODLE_19_STABLE.

dilawar/moodle