diff --git a/application/project/controller/Events.php b/application/project/controller/Events.php index 34f7502..309628b 100644 --- a/application/project/controller/Events.php +++ b/application/project/controller/Events.php @@ -70,6 +70,7 @@ class Events extends BasicApi } $status = Request::post('status', -1); $where[] = ['deleted', '=', 0]; + $where[] = ['organization_code', '=', getCurrentOrganizationCode()]; $memberWhere = [['member_code', '=', getCurrentMember()['code']]]; if ($status != -1) { $memberWhere[] = ['status', '=', $status];