mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 08:34:26 +02:00
bugfixing adapter get() in case of no connection
This commit is contained in:
parent
ad1254c49c
commit
0a318925a4
6 changed files with 10 additions and 10 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue