mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°6252 - Make designer itop 3.1 compatible - Fix deprecated calls of opendir() with null value
This commit is contained in:
@@ -176,6 +176,10 @@ class MFModule
|
||||
$this->sAutoSelect = 'false';
|
||||
$this->aFilesToInclude = array('addons' => array(), 'business' => array(), 'webservices' => array(),);
|
||||
|
||||
if (is_null($sRootDir)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Scan the module's root directory to find the datamodel(*).xml files
|
||||
if ($hDir = opendir($sRootDir))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user