[dw-free] It is possible to add a redirect account to your circle.
[commit: http://hg.dwscoalition.org/dw-free/rev/6bd4705a82f8]
http://bugs.dwscoalition.org/show_bug.cgi?id=3570
When trying to add a redirect account, add the account it redirects to
instead.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3570
When trying to add a redirect account, add the account it redirects to
instead.
Patch by
Files modified:
- htdocs/manage/circle/edit.bml
--------------------------------------------------------------------------------
diff -r 7b5e08b1f2f2 -r 6bd4705a82f8 htdocs/manage/circle/edit.bml
--- a/htdocs/manage/circle/edit.bml Tue May 17 00:38:21 2011 +0800
+++ b/htdocs/manage/circle/edit.bml Tue May 17 00:57:20 2011 +0800
@@ -356,6 +356,9 @@
push @not_user, $POST{"editfriend_add_${num}_user"};
next;
}
+ if ( $other_u->is_redirect && $other_u->prop( 'renamedto' ) ) {
+ $other_u = $other_u->get_renamed_user;
+ }
my $trusted_nonotify = $u->trusts( $other_u ) ? 1 : 0;
my $watched_nonotify = $u->watches( $other_u ) ? 1 : 0;
--------------------------------------------------------------------------------
