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

[ljcom] r12873: 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 06:36:02 UTC (rev 12872)
+++ trunk/cgi-bin/LJ/Widget/ErrorPage.pm	2012-11-09 09:54:36 UTC (rev 12873)
@@ -200,7 +200,7 @@
         my $remote_equals_journal = $args{'remote_equals_journal'};
         my $remote                = $args{'remote'};
         my $can_view_reason       = LJ::check_priv($remote,'historyview','suspend');
-        my $suspend_reason        = $args{'journal'}->prop ('suspend_reason');
+        my $suspend_reason        = $args{'journal'} ? $args{'journal'}->prop ('suspend_reason') : '';
 
         my $ml_description = '';
         my $description_ml_var = '';

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