Fixing strict standards warning about param mismatch

See https://github.com/catalyst/moodle-assignsubmission-mahara/pull/7