From 879cf1a9ed72a5465cf5d8b84d850ba705ef12fd Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 24 Aug 2020 17:17:45 +0800 Subject: [PATCH] 1 --- webapp/controller/ActivityController.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);