diff options
author | friendica <info@friendica.com> | 2013-05-08 21:30:54 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-08 21:30:54 -0700 |
commit | cb0a90d6281a0fef998bfa342612fe47f91a2099 (patch) | |
tree | 71ed1ec0ae1674fb11046cf1b160e6ae32da355a /include/config.php | |
parent | 51c27579ba79d32c26052c0d1f1218a16315234b (diff) | |
download | volse-hubzilla-cb0a90d6281a0fef998bfa342612fe47f91a2099.tar.gz volse-hubzilla-cb0a90d6281a0fef998bfa342612fe47f91a2099.tar.bz2 volse-hubzilla-cb0a90d6281a0fef998bfa342612fe47f91a2099.zip |
small updates
Diffstat (limited to 'include/config.php')
-rw-r--r-- | include/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
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') { |