Committer: vsukhanov
LJSUP-6730: fix typoU 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); } }