From 31cb8bcca6fddc944bcbe01ef955a8743cfd4359 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 26 Feb 2019 02:46:56 +0300 Subject: [PATCH] Flextype Slim Integration - Plugins - fixes --- flextype/Plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flextype/Plugins.php b/flextype/Plugins.php index 707cd11a..bdce39f2 100755 --- a/flextype/Plugins.php +++ b/flextype/Plugins.php @@ -114,7 +114,7 @@ class Plugins private function createPluginsDictionary(array $plugins_list) : void { if (is_array($plugins_list) && count($plugins_list) > 0) { - foreach ($this->$locales as $locale => $locale_title) { + foreach ($this->locales as $locale => $locale_title) { foreach ($plugins_list as $plugin) { $language_file = PATH['plugins'] . '/' . $plugin['dirname'] . '/languages/' . $locale . '.yaml'; if (Filesystem::has($language_file)) {