Commit 0ae48771 by 冷斌

fix bug

parent 41e201d9
...@@ -875,8 +875,6 @@ class Model_Live extends PhalApi_Model_NotORM { ...@@ -875,8 +875,6 @@ class Model_Live extends PhalApi_Model_NotORM {
->where('id = ?', $liveuid) ->where('id = ?', $liveuid)
->update( array('votes' => new NotORM_Literal("votes + {$anthor_total}"),'votestotal' => new NotORM_Literal("votestotal + {$total3}") )); ->update( array('votes' => new NotORM_Literal("votes + {$anthor_total}"),'votestotal' => new NotORM_Literal("votestotal + {$total3}") ));
var_dump($istouid);
die;
if($anthor_total){ if($anthor_total){
$insert_votes=[ $insert_votes=[
'type'=>'income', 'type'=>'income',
......
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