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

[ljcom] r10784: LJSUP-9364: Error when send a commnet

Committer: gariev
LJSUP-9364: Error when send a commnet

U   trunk/cgi-bin/LJ/PartnerSite.pm
Modified: trunk/cgi-bin/LJ/PartnerSite.pm
===================================================================
--- trunk/cgi-bin/LJ/PartnerSite.pm	2011-07-29 09:04:38 UTC (rev 10783)
+++ trunk/cgi-bin/LJ/PartnerSite.pm	2011-08-01 07:20:41 UTC (rev 10784)
@@ -252,7 +252,7 @@
         _init_cache() unless $is_cache_initialized;
 
         my $row = $search_cache{$field}->{$v};
-        die "No such partner ($field=$v)" unless $row;
+        return unless $row;
         return $class->_new_from_config_row(%$row);
     };
 }

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