summaryrefslogtreecommitdiffstats
path: root/core/ajax
diff options
context:
space:
mode:
authorunknown <Alain@Alain-PC.(none)>2012-03-20 00:30:53 +0100
committerRobin Appelman <icewind@owncloud.com>2012-04-12 19:14:25 +0200
commit2f3c0a6d804609aa908b8e938943e3ab8679b0a9 (patch)
tree10dc06d746b42709242a17dec2e5a8a36f853841 /core/ajax
parentbd262eaac0400be61e6396198b670d8a44bfa024 (diff)
downloadnextcloud-server-2f3c0a6d804609aa908b8e938943e3ab8679b0a9.tar.gz
nextcloud-server-2f3c0a6d804609aa908b8e938943e3ab8679b0a9.zip
wrong defaultValue definition in OC.AppConfig.getValue
done
Diffstat (limited to 'core/ajax')
-rw-r--r--core/ajax/appconfig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ajax/appconfig.php b/core/ajax/appconfig.php
index 50984ac32b9..f815d710631 100644
--- a/core/ajax/appconfig.php
+++ b/core/ajax/appconfig.php
@@ -11,7 +11,7 @@ $action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;
switch($action){
case 'getValue':
- $result=OC_Appconfig::getValue($_GET['app'],$_GET['key'],$_GET['default']);
+ $result=OC_Appconfig::getValue($_GET['app'],$_GET['key'],$_GET['defaultValue']);
break;
case 'setValue':
$result=OC_Appconfig::setValue($_POST['app'],$_POST['key'],$_POST['value']);