aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-21 23:07:16 -0700
committerFriendika <info@friendika.com>2011-06-21 23:07:16 -0700
commit6056a6314be73289536ad573c8b0702801dec8e5 (patch)
tree05270e52e0a7ea25f26314bc66e8738b48f82782
parenta51fc14e69c626aa683db4d5e45a7ff6106752a7 (diff)
parent513447a4150f7cf46d8773e9fa9b2106c0a21de5 (diff)
downloadvolse-hubzilla-6056a6314be73289536ad573c8b0702801dec8e5.tar.gz
volse-hubzilla-6056a6314be73289536ad573c8b0702801dec8e5.tar.bz2
volse-hubzilla-6056a6314be73289536ad573c8b0702801dec8e5.zip
Merge pull request #124 from tobiasd/master
little typo in variable names for the admin interface
-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"),
);
}