Permalink
Browse files

MDL-38162 config_cache: fixed issue with empty values array

  • Loading branch information...
1 parent 1dd6835 commit d0749719ef848ba2b414a54b9703a35f05653429 Sam Hemelryk committed Feb 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/moodlelib.php
View
@@ -1386,7 +1386,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) {

0 comments on commit d074971

Please sign in to comment.