MDL-24805, fixed get_option function
This commit is contained in:
@@ -1348,7 +1348,11 @@ abstract class repository {
|
||||
$ret[$entry->name] = $entry->value;
|
||||
}
|
||||
if (!empty($config)) {
|
||||
if (isset($ret[$config])) {
|
||||
return $ret[$config];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
return $ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user