Moodle.2x mod/hotpot fix error 'objtec could not be converted to int' when STOP button is enabled