Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r20814: LJSUP-10814: captcha is not loaded for a...

Committer: anazarov
LJSUP-10814: captcha is not loaded for anonymous commenters
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-12-20 05:28:02 UTC (rev 20813)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-12-20 06:28:09 UTC (rev 20814)
@@ -1873,6 +1873,9 @@
     elsif ( $screening eq 'F' ) {
         $willscreen = !( $remote && $is_person && $is_friend );
     }
+    elsif ( $screening eq 'R' ) {
+        $willscreen = !($remote? $remote->is_validated : 0);
+    }
 
     my ( $ml_willscreen, $ml_willscreenfriend );
     if ($willscreen) {

Tags: anazarov, livejournal, nfokz, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments