Fix 'add activity...' not working as reported on https://moodle.org/mod/forum/discuss.php?d=231970#p1010505
Merge pull request #13 from gjb2048/MOODLE_25

Fix 'add activity...' not working