Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r16167: Removed minor bug for 'Duplicate my decl...

Committer: gariev
Removed minor bug for 'Duplicate my declaration'
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2010-01-28 11:38:36 UTC (rev 16166)
+++ trunk/cgi-bin/LJ/User.pm	2010-01-28 16:38:41 UTC (rev 16167)
@@ -2837,7 +2837,7 @@
             $new_theme = LJ::S2Theme->load_by_uniq($default_theme_uniq);
         } else {
             my $layoutid = '';
-            my $layoutid = $public->{$default_layout_uniq}->{s2lid} 
+            $layoutid = $public->{$default_layout_uniq}->{s2lid} 
                 if $public->{$default_layout_uniq} && $public->{$default_layout_uniq}->{type} eq "layout";
             $new_theme = LJ::S2Theme->load_default_of($layoutid, user => $u) if $layoutid;
         }

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