From 7cee0cb50a8d575bd1f595ab941fcecbf14133de Mon Sep 17 00:00:00 2001 From: Louis Date: Thu, 11 Jul 2019 13:06:08 +0800 Subject: [PATCH] fix: wrong override recurring variable --- src/Manager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Manager.php b/src/Manager.php index 783fac69..9d186993 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -64,8 +64,8 @@ public function importTranslations( $replace = false, $base = null, $import_grou //import langfiles for each vendor if ( $locale == 'vendor' ) { - foreach ( $this->files->directories( $langPath ) as $vendor ) { - $counter += $this->importTranslations( $replace, $vendor ); + foreach ( $this->files->directories( $langPath ) as $vendorDir ) { + $counter += $this->importTranslations( $replace, $vendorDir ); } continue; }