summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 1b58e6fcc..f128b5d86 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -2077,7 +2077,7 @@ function common_subscribe_form($profile) {
}
function common_unsubscribe_form($profile) {
- common_element_start('form', array('id' => 'unsubscribe-' . $profile->nickname,
+ common_element_start('form', array('id' => 'unsubscribe-' . $profile->id,
'method' => 'post',
'class' => 'unsubscribe',
'action' => common_local_url('unsubscribe')));