diff --git a/webapp/controller/SavingPotController.class.php b/webapp/controller/SavingPotController.class.php index d33be250..2cea08d3 100644 --- a/webapp/controller/SavingPotController.class.php +++ b/webapp/controller/SavingPotController.class.php @@ -122,8 +122,10 @@ class SavingPotController extends BaseAuthedController { ); SqlHelper::rawQueryPage( myself()->_getSelfMysql(), - 'SELECT * FROM t_user_bind_gold_record ', - array(), + 'SELECT * FROM t_user_bind_gold_record where account_id=:account_id', + array( + ':account_id' => myself()->_getAccountId() + ), array( 'page' => $page, 'perPage' => 8,