From cb0a90d6281a0fef998bfa342612fe47f91a2099 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 8 May 2013 21:30:54 -0700 Subject: small updates --- include/config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/config.php') diff --git a/include/config.php b/include/config.php index 9b36b1a1e..5db0a3d05 100644 --- a/include/config.php +++ b/include/config.php @@ -17,8 +17,8 @@ function load_config($family) { global $a; - $r = q("SELECT * FROM `config` WHERE `cat` = '%s'", dbesc($family)); - if(count($r)) { + $r = q("SELECT * FROM config WHERE cat = '%s'", dbesc($family)); + if($r) { foreach($r as $rr) { $k = $rr['k']; if ($family === 'config') { -- cgit v1.2.3