NOBUG mod_surveypro: added a missing global $DB;