Commit a6c2d4ef by 冷斌

踢人

parent a1ae958d
...@@ -49,11 +49,10 @@ class Api_Livepk extends PhalApi_Api { ...@@ -49,11 +49,10 @@ class Api_Livepk extends PhalApi_Api {
} }
$where="uid!={$uid}"; $where="uid!={$uid}";
if (!$name) { if (!empty($name)) {
$where .= " and cmf_users.user_nicename like '%".$name."%'"; $where .= " and cmf_users.user_nicename like '%".$name."%'";
} }
var_dump($name, $where);
die;
$domain = new Domain_Livepk(); $domain = new Domain_Livepk();
$list = $domain->getLiveList($uid,$where,$p); $list = $domain->getLiveList($uid,$where,$p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment