From e04cce05a0f16ca71bb5e303c0192fe4504af17d Mon Sep 17 00:00:00 2001 From: condor2 Date: Wed, 27 Mar 2024 16:09:15 +0200 Subject: [PATCH] [3.0.x.x] Fixed undefinited index: id google controller --- upload/admin/controller/extension/advertise/google.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/admin/controller/extension/advertise/google.php b/upload/admin/controller/extension/advertise/google.php index 1d10ee9620f..6ea1ab6eba1 100644 --- a/upload/admin/controller/extension/advertise/google.php +++ b/upload/admin/controller/extension/advertise/google.php @@ -1687,7 +1687,7 @@ public function admin_link(&$route, &$data, &$template) { } foreach ($data['menus'] as &$menu) { - if ($menu['id'] == 'menu-marketing') { + if (isset($menu['id']) && $menu['id'] == 'menu-marketing') { $children = array(); $this->load->model('setting/store');