Commit 8d048be1 by 冷斌

fix bug

parent e7b338a3
...@@ -1307,6 +1307,7 @@ ...@@ -1307,6 +1307,7 @@
$configpri=getConfigPri(); $configpri=getConfigPri();
$anthor_total=$total; $anthor_total=$total;
var_dump('init: ' . $anthor_total);
/* 家族 */ /* 家族 */
if($configpri['family_switch']==1){ if($configpri['family_switch']==1){
$users_family=DI()->notorm->users_family $users_family=DI()->notorm->users_family
...@@ -1319,6 +1320,7 @@ ...@@ -1319,6 +1320,7 @@
->select("uid,divide_family") ->select("uid,divide_family")
->where('id=?',$users_family['familyid']) ->where('id=?',$users_family['familyid'])
->fetchOne(); ->fetchOne();
var_dump($familyinfo);
if($familyinfo){ if($familyinfo){
$divide_family=$familyinfo['divide_family']; $divide_family=$familyinfo['divide_family'];
...@@ -1353,6 +1355,8 @@ ...@@ -1353,6 +1355,8 @@
} }
} }
} }
var_dump('out: ' . $anthor_total);
die;
return $anthor_total; return $anthor_total;
} }
......
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