Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-31208 fix obsolete get_record_sql() parameter

Credit goes to Rajesh Taneja.
  • Loading branch information...
commit 8be997c2f497a303829afa18d38c81a65cd9d5cc 1 parent 1aff7bb
@skodak skodak authored stronk7 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/moodlelib.php
View
2  lib/moodlelib.php
@@ -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);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.