From 4db16e605a8b167f31a910caf1aceb3263624435 Mon Sep 17 00:00:00 2001 From: wdammak <26695620+wdammak@users.noreply.github.com> Date: Tue, 29 Sep 2020 18:04:25 +0200 Subject: [PATCH] Update QuickAccess.php Fix PHP 7.4 --- classes/QuickAccess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/QuickAccess.php b/classes/QuickAccess.php index afebe7b13..1a71b14bb 100644 --- a/classes/QuickAccess.php +++ b/classes/QuickAccess.php @@ -67,7 +67,7 @@ class QuickAccessCore extends ObjectModel public function toggleNewWindow() { - if (!array_key_exists('new_window', $this)) { + if (!array_key_exists('new_window', get_object_vars($this))) { throw new PrestaShopException('property "new_window" is missing in object '.get_class($this)); }