Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r19765: LJSUP-8857: Updating commenting form

Committer: amyshkin
LJSUP-8857: Updating commenting form
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-08-18 03:20:55 UTC (rev 19764)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-08-18 03:46:00 UTC (rev 19765)
@@ -1906,15 +1906,15 @@
         }
     }
 
-    my $logips = $journalu->{'opt_logcommentips'};
-    my ( $ml_logcommentips, $show_logips );
-    if ( $logips =~ /[AS]/ ) {
+    my $show_logips = $journalu->{'opt_logcommentips'};
+    my $ml_logcommentips;
+
+    if ( $show_logips =~ /[AS]/ ) {
         my $mlkey =
-            $logips eq 'A'
+            $show_logips eq 'A'
             ? '/talkpost.bml.logyourip'
             : '/talkpost.bml.loganonip';
 
-        $show_logips      = 1;
         $ml_logcommentips = LJ::Lang::ml($mlkey);
     }
 

Tags: livejournal, pm, zilogic
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