Commit c377b942 by 冷斌

fix bug

parent 04c6d300
...@@ -141,7 +141,7 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -141,7 +141,7 @@ class Model_Home extends PhalApi_Model_NotORM {
if (!empty($familyinfo)) { if (!empty($familyinfo)) {
$touid=DI()->notorm->users_family $touid=DI()->notorm->users_family
->select("uid") ->select("uid")
->where("familyid=? and state=2 and uid!=?",$familyinfo['familyid'], $uid) ->where("familyid=? and state=2",$familyinfo['familyid'])
->fetchAll(); ->fetchAll();
$familyinfo2 = DI()->notorm->family $familyinfo2 = DI()->notorm->family
->where('id=?',$familyinfo['familyid']) ->where('id=?',$familyinfo['familyid'])
......
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