Skip to content
Snippets Groups Projects
Commit 44698fcd authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: dol_is_dir may not be loaded, so call fails

parent 63e1b724
No related branches found
No related tags found
No related merge requests found
...@@ -621,7 +621,7 @@ class Translate ...@@ -621,7 +621,7 @@ class Translate
$newdir=dol_osencode($dir); $newdir=dol_osencode($dir);
// Check if directory exists // Check if directory exists
if (! dol_is_dir($dir)) continue; if (! is_dir($newdir)) continue; // We must not use dol_is_dir here, function may not be loaded
$fonc='numberwords'; $fonc='numberwords';
if (file_exists($newdir.'/functions_'.$fonc.'.lib.php')) if (file_exists($newdir.'/functions_'.$fonc.'.lib.php'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment