Include yourself in postto list.

        Patch by fu. 

diffs (12 lines):

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 " .
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to