From 8974d629216d7a4d451369a4c84676f28988d4d7 Mon Sep 17 00:00:00 2001 From: Casper Date: Sat, 10 Jul 2021 21:34:53 +0200 Subject: [PATCH] fix getLanguages should fix issue some had on line 160 with languages --- gshoppingflux/gshoppingflux.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gshoppingflux/gshoppingflux.php b/gshoppingflux/gshoppingflux.php index 360fe96..508b4b1 100644 --- a/gshoppingflux/gshoppingflux.php +++ b/gshoppingflux/gshoppingflux.php @@ -158,7 +158,7 @@ public function installDb() public function initDb($id_shop) { - $languages = $this->context->controller->getLanguages(); + $languages = Language::getLanguages(true, $id_shop); $id_lang = $this->context->language->id; $str = array();