Browse Source

Merge branch '10501' into 11000

master
Fred Tempez 4 months ago
parent
commit
b5aa88483d
  1. 6
      core/module/addon/addon.php

6
core/module/addon/addon.php

@ -110,8 +110,10 @@ class addon extends common {
if ( is_dir( $moduleDir )) {
// Lire le nom du module
if ($dh = opendir( $moduleDir )) {
while (($file = readdir($dh)) !== false) {
$moduleName = $file;
while ( false !== ($file = readdir($dh)) ) {
if ($file != "." && $file != "..") {
$moduleName = $file;
}
}
closedir($dh);
}

Loading…
Cancel
Save