mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Merge branch 'wip-MDL-38163-m25' of git://github.com/samhemelryk/moodle
This commit is contained in:
commit
2b32b2eea0
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user