summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index 666a715dd..eb5667f6a 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -2059,10 +2059,10 @@ function common_unsubscribe_form($profile) {
'class' => 'unsubscribe',
'action' => common_local_url('unsubscribe')));
common_hidden('token', common_session_token());
- common_element('input', array('id' => 'unsubscribeto-' . $profile->nickname,
+ common_element('input', array('id' => 'unsubscribeto-' . $profile->id,
'name' => 'unsubscribeto',
'type' => 'hidden',
- 'value' => $profile->nickname));
+ 'value' => $profile->id));
common_element('input', array('type' => 'submit',
'class' => 'submit',
'value' => _('Unsubscribe')));