Skip to content

Commit

Permalink
Merge pull request #138 from wdammak/patch-33
Browse files Browse the repository at this point in the history
Update QuickAccess.php
  • Loading branch information
rohit053 committed Oct 22, 2020
2 parents a44f38e + 4db16e6 commit b64ab97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/QuickAccess.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function getQuickAccesses($id_lang)

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

Expand Down

0 comments on commit b64ab97

Please sign in to comment.