Merge branch 'develop' of http://git.yoho.cn/web/yoho-live into develop
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -161,7 +161,7 @@ class RoomController extends BaseController | @@ -161,7 +161,7 @@ class RoomController extends BaseController | ||
161 | $uids = (new \yii\db\Query()) | 161 | $uids = (new \yii\db\Query()) |
162 | ->select(['uid']) | 162 | ->select(['uid']) |
163 | ->from('tbl_forbidden') | 163 | ->from('tbl_forbidden') |
164 | - ->where(['room_id' => $room_id]) | 164 | + ->where(['room_id' => $room_id,'status'=>Yii::$app->params['config']['is_forbid_stat']]) |
165 | ->all(); | 165 | ->all(); |
166 | if ($uids) { | 166 | if ($uids) { |
167 | foreach ($uids as $v) { | 167 | foreach ($uids as $v) { |
-
Please register or login to post a comment