From bf5abbf12bf1b1c0ff65fe6329712e48ed6b911d Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 11 Dec 2008 15:02:39 -0500 Subject: [PATCH] fix id of common_unsubscribe_form darcs-hash:20081211200239-5ed1f-b8829a657dcb6b9f1ec6134d61de5340414a10d4.gz --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 1b58e6fcc2..f128b5d867 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')));