wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[ljcom] r10903: LJSUP-9576. Minor fix

Committer: gprochaev
LJSUP-9576. Minor fix

U   trunk/htdocs/error-page.bml
Modified: trunk/htdocs/error-page.bml
===================================================================
--- trunk/htdocs/error-page.bml	2011-08-23 09:09:38 UTC (rev 10902)
+++ trunk/htdocs/error-page.bml	2011-08-23 09:31:35 UTC (rev 10903)
@@ -60,8 +60,7 @@
     my $loggedin = $BML::COOKIE{'ljloggedin'};
     if ($loggedin) {
         my @us = split /:/, $loggedin;
-        $us[0] =~ m#u(\d+)#;
-        $remoteid = $1;
+        ($remoteid) = $us[0] =~ m#u(\d+)#;
     }
     $remote = $remoteid ? LJ::load_userid($remoteid) : undef;
 }

Tags: bml, ljcom, wisest-owl
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 

  • 2 comments