vadvs (vadvs) wrote in changelog,
vadvs
vadvs
changelog

[livejournal] r17294: LJSUP-6730: fix typo

Committer: vsukhanov
LJSUP-6730: fix typo
U   trunk/cgi-bin/LJ/User.pm
Modified: trunk/cgi-bin/LJ/User.pm
===================================================================
--- trunk/cgi-bin/LJ/User.pm	2010-09-06 11:28:56 UTC (rev 17293)
+++ trunk/cgi-bin/LJ/User.pm	2010-09-06 11:32:13 UTC (rev 17294)
@@ -7987,8 +7987,8 @@
                            "VALUES ($userid, $add_id, $fgcol, $bgcol, $groupmask)");
 
         if (!$dbh->err && $cnt == 1) {
-            LJ::run_hooks('befriended', $friender, LJ::load_userid($add_id))
-            LJ::User->increase_friendsof_counter($fid);
+            LJ::run_hooks('befriended', $friender, LJ::load_userid($add_id));
+            LJ::User->increase_friendsof_counter($add_id);
         }
     }
     

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