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

[ljcom] r11074: LJSUP-10085: [internal] Decrease number ...

Committer: gariev
LJSUP-10085: [internal] Decrease number of error log messages
U   trunk/cgi-bin/LJ/Widget/ErrorPage.pm
Modified: trunk/cgi-bin/LJ/Widget/ErrorPage.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2011-10-07 13:59:40 UTC (rev 11073)
+++ trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2011-10-07 14:39:02 UTC (rev 11074)
@@ -281,7 +281,7 @@
     my $active_journal_username = $args{'active_journal_username'};
 
     my $journal;
-    if ( $active_journal_username && $active_journal_username ne '' ) {
+    if ( defined $active_journal_username ) {
         $journal = LJ::load_user($active_journal_username);
     }
 

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