Update QuickAccess.php

Fix PHP 7.4
This commit is contained in:
wdammak
2020-09-29 18:04:25 +02:00
committed by GitHub
parent 3e3dc9fbaa
commit 4db16e605a

View File

@@ -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));
}