vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[ljcom] r11185: LJSV-1772: Paid/perm users are being sho...

Committer: vad
LJSV-1772: Paid/perm users are being shown ads on 'username not found' pages
U   trunk/htdocs/error-page.bml
Modified: trunk/htdocs/error-page.bml
===================================================================
--- trunk/htdocs/error-page.bml	2011-11-15 06:54:00 UTC (rev 11184)
+++ trunk/htdocs/error-page.bml	2011-11-15 07:57:36 UTC (rev 11185)
@@ -44,7 +44,7 @@
     my $loggedin = $BML::COOKIE{'ljloggedin'};
     if ($loggedin) {
         my @us = split /:/, $loggedin;
-        ($remoteid) = $us[0] =~ m#u(\d+)#;
+        ($remoteid) = $us[1] =~ m#u(\d+)#;
     }
     $remote = $remoteid ? LJ::load_userid($remoteid) : undef;
 }

Tags: bml, ljcom, vad, vadvs
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