madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r22228: P-12531: Repost: Error: Not able to crea...

Committer: sbelyaev
P-12531: Repost: Error: Not able to create new entry
U   trunk/cgi-bin/LJ/Entry/Repost.pm
Modified: trunk/cgi-bin/LJ/Entry/Repost.pm
===================================================================
--- trunk/cgi-bin/LJ/Entry/Repost.pm	2012-06-13 12:02:04 UTC (rev 22227)
+++ trunk/cgi-bin/LJ/Entry/Repost.pm	2012-06-13 12:41:17 UTC (rev 22228)
@@ -115,8 +115,11 @@
                   'u'                  => $u,
                   'entryrepost'        => 1, };
 
+    my $event_text_stub = LJ::Lang::ml('entry.reference.event_text', { 'url' =>  $url}) | 
+                          "Entry reposted from $url";
+
     my %req = ( 'username'    => $u->user,
-                'event'       => LJ::Lang::ml('entry.reference.event_text', { 'url' =>  $url}),
+                'event'       => $event_text_stub,
                 'subject'     => '',
                 'tz'          => $timezone,
               );

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