removed undefined function

This commit is contained in:
Shreesh Arora
2024-08-22 15:45:40 +05:30
parent 9568b5bcfc
commit 6b8da7e2af
3 changed files with 0 additions and 3 deletions

View File

@@ -2690,7 +2690,6 @@ class AdminControllerCore extends Controller
));
foreach ($this->kpis as $key => &$kpi) {
$kpi->exclude_id_hotels[] = 3;
if (count($kpi->exclude_id_hotels)) {
if (empty($kpi->id_hotels)) {
$kpi->id_hotels = HotelBranchInformation::getProfileAccessedHotels($this->context->employee->id_profile, 1, 1);