aboutsummaryrefslogtreecommitdiffstats
path: root/include/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.php')
-rw-r--r--include/config.php4
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') {