summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Kiss2008-01-07 13:25:40 (GMT)
committer Dominik Kiss2008-01-07 13:25:40 (GMT)
commitbb47d6c4ee44e9ea33b7787ebf2f96ed5836d854 (patch)
tree44c309438c21a057258f1f82921ca8d272f54bfc
parent60925491399d682441f1be47ca51be057e1323de (diff)
fixed bug in buddylist_ui_deletebuddy_submit (added buddyinfo array)
-rw-r--r--buddylist_ui/buddylist_ui.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/buddylist_ui/buddylist_ui.module b/buddylist_ui/buddylist_ui.module
index ac02ec0..5916ace 100644
--- a/buddylist_ui/buddylist_ui.module
+++ b/buddylist_ui/buddylist_ui.module
@@ -439,6 +439,8 @@ function buddylist_ui_deletebuddy($uid) {
* @param $form_values
*/
function buddylist_ui_deletebuddy_submit($form_id, $form_values) {
+ $buddyinfo = array();
+ $buddyinfo['oneway'] = variable_get('buddylist_ui_oneway', 0);
buddy_api_remove($form_values['requester_account'], $form_values['requestee_account']);
};