X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FCore%2FPConfig.php;h=33ec93c0eb5e4c15c5dfaea24892d70171f1feff;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=351f63e0043b1f5daf286c2187d9857e3a72d178;hpb=293436e5fd5110220c969513858dbb979f1f35d3;p=friendica.git diff --git a/include/Core/PConfig.php b/include/Core/PConfig.php index 351f63e004..33ec93c0eb 100644 --- a/include/Core/PConfig.php +++ b/include/Core/PConfig.php @@ -33,7 +33,7 @@ class PConfig { dbesc($family), intval($uid) ); - if (count($r)) { + if (dbm::is_result($r)) { foreach ($r as $rr) { $k = $rr['k']; $a->config[$uid][$family][$k] = $rr['v'];