summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2008-12-11 15:02:39 -0500
committerEvan Prodromou <evan@controlyourself.ca>2008-12-11 15:02:39 -0500
commitbf5abbf12bf1b1c0ff65fe6329712e48ed6b911d (patch)
treef7a70cd2a6a0a92f52c3572f3ec820c78f057c66 /lib/util.php
parentc65bc1731f103ed7877a03fdfe875f50a6e341ad (diff)
fix id of common_unsubscribe_form
darcs-hash:20081211200239-5ed1f-b8829a657dcb6b9f1ec6134d61de5340414a10d4.gz
Diffstat (limited to 'lib/util.php')
-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')));