can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[ljcom] r12017: LJSUP-11909: Fast Repost feature. Fix re...

Committer: dpetrov
LJSUP-11909: Fast Repost feature. Fix regex typo.
U   trunk/cgi-bin/LJ/CleanHtml/Like.pm
Modified: trunk/cgi-bin/LJ/CleanHtml/Like.pm
===================================================================
--- trunk/cgi-bin/LJ/CleanHtml/Like.pm	2012-05-28 08:13:37 UTC (rev 12016)
+++ trunk/cgi-bin/LJ/CleanHtml/Like.pm	2012-05-28 08:44:30 UTC (rev 12017)
@@ -44,7 +44,7 @@
     my @buttons = ();
         
     foreach my $button ( split /,\s*/, $buttons_list ) {
-        if ($button =~ /^(?:re|repost)%/i) {
+        if ($button =~ /^(?:re|repost)$/i) {
             push @buttons, 'repost';
         }
         elsif ( $button =~ /^(?:fb|facebook)$/i ) {

Tags: can3p, dpetrov, 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