Commit 127b2ca1 by 冷斌

fix bug

parent d886e303
...@@ -234,7 +234,7 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -234,7 +234,7 @@ class Model_Live extends PhalApi_Model_NotORM {
->where("action = 'sendgift' and showid = '{$liveinfo['showid']}'") ->where("action = 'sendgift' and showid = '{$liveinfo['showid']}'")
->fetchOne(); ->fetchOne();
if (!empty($zhubo['votes'])) { if (!empty($zhubo['votes'])) {
$rs['votes']=$zhubo['votes']; $rs['votes'] = (int)$zhubo['votes'];
} }
$set=DI()->notorm->experlevel_set->where('id=1')->fetchOne(); $set=DI()->notorm->experlevel_set->where('id=1')->fetchOne();
......
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