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

[livejournal] r17410: LJSUP-6482

Committer: gprochaev
LJSUP-6482

U   trunk/cgi-bin/LJ/Event/JournalNewComment.pm
Modified: trunk/cgi-bin/LJ/Event/JournalNewComment.pm
===================================================================
--- trunk/cgi-bin/LJ/Event/JournalNewComment.pm	2010-09-20 06:54:14 UTC (rev 17409)
+++ trunk/cgi-bin/LJ/Event/JournalNewComment.pm	2010-09-20 07:19:49 UTC (rev 17410)
@@ -249,6 +249,7 @@
     }
 
     my $tinyurl = LJ::API::BitLy->shorten($self->comment->url);
+    return undef if $tinyurl =~ /^500/;
     return $msg . " " . $tinyurl; 
 }
 

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