Allow free users to post polls to paid communities>

        Patch by denise. 

diffs (13 lines):

diff -r 429488b55141 -r d2865ddc2aeb cgi-bin/ljprotocol.pl
--- a/cgi-bin/ljprotocol.pl     Mon Jul 13 21:06:48 2009 +0000
+++ b/cgi-bin/ljprotocol.pl     Mon Jul 13 23:12:56 2009 +0000
@@ -1175,8 +1175,7 @@ sub postevent
         return fail($err,301,"Your account type doesn't permit creating 
polls.")
             unless (LJ::get_cap($u, "makepoll")
                     || ($uowner->{'journaltype'} eq "C"
-                        && LJ::get_cap($uowner, "makepoll")
-                        && LJ::can_manage_other($u, $uowner)));
+                        && LJ::get_cap($uowner, "makepoll")));
 
         my $error = "";
         @polls = LJ::Poll->new_from_html(\$event, \$error, {
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to