]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix id of common_unsubscribe_form
authorEvan Prodromou <evan@controlyourself.ca>
Thu, 11 Dec 2008 20:02:39 +0000 (15:02 -0500)
committerEvan Prodromou <evan@controlyourself.ca>
Thu, 11 Dec 2008 20:02:39 +0000 (15:02 -0500)
darcs-hash:20081211200239-5ed1f-b8829a657dcb6b9f1ec6134d61de5340414a10d4.gz

lib/util.php

index 1b58e6fcc2b425d53f947f9c219bf1049255c996..f128b5d867cb335eb177d89b269bbb649da5bce3 100644 (file)
@@ -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')));