aboutsummaryrefslogtreecommitdiffstats
path: root/addon/statusnet
diff options
context:
space:
mode:
Diffstat (limited to 'addon/statusnet')
-rw-r--r--addon/statusnet/statusnet.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/addon/statusnet/statusnet.php b/addon/statusnet/statusnet.php
index cb0f87764..85024631c 100644
--- a/addon/statusnet/statusnet.php
+++ b/addon/statusnet/statusnet.php
@@ -367,8 +367,8 @@ function statusnet_plugin_admin_post(&$a){
$sites[] = Array(
'sitename' => $sitename,
'apiurl' => $apiurl,
- 'secret' => $secret,
- 'key' => $key
+ 'consumersecret' => $secret,
+ 'consumerkey' => $key
);
}
}
@@ -386,8 +386,8 @@ function statusnet_plugin_admin(&$a, &$o){
$sitesform[] = Array(
'sitename' => Array("sitename[$id]", "Site name", $s['sitename'], ""),
'apiurl' => Array("apiurl[$id]", "Api url", $s['apiurl'], ""),
- 'secret' => Array("secret[$id]", "Secret", $s['secret'], ""),
- 'key' => Array("key[$id]", "Key", $s['key'], ""),
+ 'secret' => Array("secret[$id]", "Secret", $s['consumersecret'], ""),
+ 'key' => Array("key[$id]", "Key", $s['consumerkey'], ""),
'delete' => Array("delete[$id]", "Delete", False , "Check to delete this preset"),
);
}