vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r19609: LJSUP-9412: error in TheSchwartz::Worker...

Committer: vsukhanov
LJSUP-9412: error in TheSchwartz::Worker::NotifyPingbackServer worker.
U   trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm
Modified: trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm
===================================================================
--- trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm	2011-08-05 06:21:22 UTC (rev 19608)
+++ trunk/cgi-bin/TheSchwartz/Worker/NotifyPingbackServer.pm	2011-08-05 06:27:24 UTC (rev 19609)
@@ -192,7 +192,7 @@
             $context =~ s/^(\S{1,5}\s*)//;
         }
 
-        $links[-1]->{context} = $context;        
+        $links[-1]->{context} = $context if scalar @links;        
         $prev_link_end = length($res);
     }
     return;

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