Commit 1ff09b49 by 冷斌

update

parent a0b68fb6
...@@ -147,7 +147,8 @@ class AuthController extends HomebaseController { ...@@ -147,7 +147,8 @@ class AuthController extends HomebaseController {
{ {
$ff = []; $ff = [];
$userfam = false; $userfam = false;
if (!empty($fid)) { $fid = (int)$fid;
if (!empty($fid) && $fid > 0) {
$Family=M('family'); $Family=M('family');
$familyinfo=$Family->where("id={$fid}")->find(); $familyinfo=$Family->where("id={$fid}")->find();
if(!$familyinfo){ if(!$familyinfo){
......
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