Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Aug 1, 2023
1 parent 1cd935f commit cef606d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -1256,7 +1256,7 @@ public static function downloadXLFLanguagePack($locale, &$errors = [], $type = s
}

// 3 attempts to download the language pack
for ($i = 1; $i <= 3; $i++) {
for ($i = 1; $i <= 3; ++$i) {
$content = Tools::file_get_contents($url, false, null, static::PACK_DOWNLOAD_TIMEOUT);

// If we managed to download the pack successfully and it's a valid zip file, we stop
Expand Down

0 comments on commit cef606d

Please sign in to comment.