Skip to content

Commit

Permalink
fix: php8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Mar 19, 2023
1 parent b4d3e6b commit 300bef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ private function mgirateLatteTranslations()
/** @var RockMigrations $rm */
$rm = $this->wire->modules->get('RockMigrations');
$ext = $rm->getModuleConfig('ProcessLanguageTranslator', 'extensions');
if (strpos($ext, "latte") !== false) return;
if (strpos((string)$ext, "latte") !== false) return;
$rm->setModuleConfig("ProcessLanguageTranslator", ['extensions' => "$ext latte"]);
}

Expand Down

0 comments on commit 300bef9

Please sign in to comment.