From: Philipp Holzer Date: Mon, 18 Feb 2019 13:45:24 +0000 (+0100) Subject: bugfix X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c2176aad364f657094b6dc9a603a1e2d18a32ca9;p=friendica.git bugfix --- diff --git a/src/Core/Config/Adapter/PreloadPConfigAdapter.php b/src/Core/Config/Adapter/PreloadPConfigAdapter.php index bc49d623f3..12e25df9f9 100644 --- a/src/Core/Config/Adapter/PreloadPConfigAdapter.php +++ b/src/Core/Config/Adapter/PreloadPConfigAdapter.php @@ -97,7 +97,7 @@ class PreloadPConfigAdapter extends AbstractDbaConfigAdapter implements IPConfig return false; } - if ($this->isLoaded($uid, $cat, $key)) { + if (!$this->isLoaded($uid, $cat, $key)) { $this->load($uid, $cat); } // We store our setting values as strings.