[ljcom] r11074: LJSUP-10085: [internal] Decrease number ...
Committer: gariev
LJSUP-10085: [internal] Decrease number of error log messagesU 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);
}
