mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
Fix issue processwire/processwire-issues#679
This commit is contained in:
@@ -684,7 +684,7 @@ class ProcessLanguageTranslator extends Process {
|
|||||||
$dirIterator = false;
|
$dirIterator = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$dirIterator) return array();
|
if($dirIterator === false) return array();
|
||||||
|
|
||||||
foreach($dirIterator as $file) {
|
foreach($dirIterator as $file) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user