Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[ljcom] r9952: LJINT-362 (Comments for side projects): ...

Committer: ailyin
LJINT-362 (Comments for side projects): do not fail on dev servers
U   trunk/cgi-bin/LJ/PartnerSite.pm
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-01-27 09:37:29 UTC (rev 9951)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-01-27 10:30:34 UTC (rev 9952)
@@ -241,6 +241,8 @@
     }
 
     $params{'journal'}   = LJ::load_user( $params{'journal_username'} );
+    return unless $params{'journal'};
+
     $params{'journalid'} = $params{'journal'}->userid;
 
     my $self = bless \%params, $class;

Tags: andy, 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