Permalink
Browse files

MDL-31208 fix obsolete get_record_sql() parameter

Credit goes to Rajesh Taneja.
  • Loading branch information...
1 parent 1aff7bb commit 8be997c2f497a303829afa18d38c81a65cd9d5cc @skodak skodak committed with stronk7 Jan 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -1973,7 +1973,7 @@ function get_timezone_record($timezonename) {
}
return $cache[$timezonename] = $DB->get_record_sql('SELECT * FROM {timezone}
- WHERE name = ? ORDER BY year DESC', array($timezonename), true);
+ WHERE name = ? ORDER BY year DESC', array($timezonename), IGNORE_MULTIPLE);
}
/**

0 comments on commit 8be997c

Please sign in to comment.