[dw-free] update communitylib.pl to use user methods
[commit: http://hg.dwscoalition.org/dw-free/rev/740a768a0adc]
http://bugs.dwscoalition.org/show_bug.cgi?id=2849
Include yourself in postto list.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2849
Include yourself in postto list.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/weblib.pl
-------------------------------------------------------------------------------- diff -r cb563dcc113a -r 740a768a0adc cgi-bin/weblib.pl --- a/cgi-bin/weblib.pl Wed Sep 08 18:36:47 2010 +0800 +++ b/cgi-bin/weblib.pl Wed Sep 08 19:55:24 2010 +0800 @@ -231,7 +231,7 @@ sub make_postto_select { my $label = $opts->{label} || $BML::ML{'web.postto.label'}; my $button = $opts->{button} || $BML::ML{'web.postto.btn'}; - my @list = $u->posting_access_list; + my @list = ( $u, $u->posting_access_list ); # only do most of form if there are options to select from if ( @list > 1 ) { return "$label " . --------------------------------------------------------------------------------