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

[ljcom] r12874: LJSUP-13913: Error for suspended twitter...

Committer: wisest-owl
LJSUP-13913: Error for suspended twitter-account

U   trunk/cgi-bin/LJ/Widget/ErrorPage.pm
Modified: trunk/cgi-bin/LJ/Widget/ErrorPage.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2012-11-09 09:54:36 UTC (rev 12873)
+++ trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2012-11-12 06:57:58 UTC (rev 12874)
@@ -224,8 +224,8 @@
 
         # using direct DB request because 
         # there are no reading methods for statushistory 
-        if ($can_view_reason) {
-            my $uid = $args{'journal'} -> userid;
+        if ($can_view_reason && $args{'journal'}) {
+            my $uid = $args{'journal'}->userid;
             my $dbr = LJ::get_db_reader();
             $dbr->{'RaiseError'} = 1;
 

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

  • 0 comments