diff --git a/include/socgraph.php b/include/socgraph.php index a3e20a641..cf0042256 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -207,7 +207,7 @@ function count_common_friends_zcid($uid,$zcid) { where `glink`.`zcid` = %d and `gcontact`.`nurl` in (select nurl from contact where uid = %d and self = 0 ) ", intval($zcid), - intval($uid), + intval($uid) ); if(count($r))