diff --git a/webapp/controller/ActivityController.class.php b/webapp/controller/ActivityController.class.php index fbb5aee..842ecfd 100644 --- a/webapp/controller/ActivityController.class.php +++ b/webapp/controller/ActivityController.class.php @@ -282,7 +282,7 @@ class ActivityController{ $r -> pexpire($draw_uuid, 1000 * 3600 * 24); } else { $draw_db = json_decode($user_db_str, true); - if ($flush_flag = 1) { + if ($flush_flag == 1) { $user_db_str = $r->get($draw_uuid); $draw_list = $this->randomReward(1,$account_id); $draw_db = json_decode($user_db_str, true);