Merge branch 'wip-MDL-38163-m25' of git://github.com/samhemelryk/moodle

This commit is contained in:
Dan Poltawski 2013-02-25 15:39:30 +08:00
commit 2b32b2eea0

View File

@ -1413,7 +1413,7 @@ function get_config($plugin, $name = NULL) {
$cache = cache::make('core', 'config');
$result = $cache->get($plugin);
if (!$result) {
if ($result === false) {
// the user is after a recordset
$result = new stdClass;
if (!$iscore) {