bugfixing adapter get() in case of no connection
This commit is contained in:
@@ -59,7 +59,7 @@ class PreloadPConfigAdapter extends AbstractDbaConfigAdapter implements IPConfig
|
||||
public function get($uid, $cat, $key)
|
||||
{
|
||||
if (!$this->isConnected()) {
|
||||
return null;
|
||||
return '!<unset>!';
|
||||
}
|
||||
|
||||
if (!$this->config_loaded) {
|
||||
|
||||
Reference in New Issue
Block a user