madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r20895: LJSV-2014: wrong variable using is fixed...

Committer: sbelyaev
LJSV-2014: wrong variable using is fixed
U   trunk/cgi-bin/LJ/Support/Request/Tag.pm
Modified: trunk/cgi-bin/LJ/Support/Request/Tag.pm
===================================================================
--- trunk/cgi-bin/LJ/Support/Request/Tag.pm	2012-01-13 13:32:13 UTC (rev 20894)
+++ trunk/cgi-bin/LJ/Support/Request/Tag.pm	2012-01-13 13:46:09 UTC (rev 20895)
@@ -203,12 +203,11 @@
                   $sptagid );
     } elsif ($name_exists && $allowmerge) {
         my ($current_spid) = $dbh->selectrow_array( 'SELECT spid ' .
-                                               'FROM supporttagmap ' .
-                                               'WHERE sptagid = ?',
-                                               undef,
-                                               $source_id);
+                                                    'FROM supporttagmap ' .
+                                                    'WHERE sptagid = ?',
+                                                    undef,
+                                                    $sptagid);
 
-
         my $spid = $dbh->selectrow_array( 'SELECT spid ' .
                                           'FROM supporttagmap '.
                                           'WHERE sptagid=?',

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