1
0
Fork 0

Merge pull request #124 from tobiasd/master

little typo in variable names for the admin interface
This commit is contained in:
Friendika 2011-06-21 23:07:16 -07:00
commit 6056a6314b

View file

@ -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"),
);
}