diff options
Diffstat (limited to 'lib/appconfig.php')
-rw-r--r-- | lib/appconfig.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/appconfig.php b/lib/appconfig.php index f3038e00532..20fbb5313b8 100644 --- a/lib/appconfig.php +++ b/lib/appconfig.php @@ -174,12 +174,12 @@ class OC_Appconfig{ if($app!==false and $key!==false){ return false; } - $where='WHERE'; $fields='`configvalue`'; + $where='WHERE'; $params=array(); if($app!==false){ - $where.=' `appid` = ?'; $fields.=', `configkey`'; + $where.=' `appid` = ?'; $params[]=$app; $key='configkey'; }else{ |