MDL-27471 rating - whitespace cleanup

This commit is contained in:
Eloy Lafuente (stronk7) 2011-05-25 16:54:51 +02:00
parent 5b52ce19c5
commit f2e725930b
4 changed files with 9 additions and 9 deletions

View file

@ -527,7 +527,7 @@ function glossary_rating_validate($params) {
//item doesn't exist
throw new rating_exception('invaliditemid');
}
if ($info->scale != $params['scaleid']) {
//the scale being submitted doesnt match the one in the database
throw new rating_exception('invalidscaleid');