Merge pull request #20990 from rycks/fix_modResource_depends_on_modResource

fix #20989 : modResource depends on modResource
This commit is contained in:
Laurent Destailleur 2022-05-24 21:48:52 +02:00 committed by GitHub
commit 2cfb4c1fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@ class modResource extends DolibarrModules
// Dependencies
// List of modules id that must be enabled if this module is enabled
$this->depends = array('modResource');
$this->depends = array();
// List of modules id to disable if this one is disabled
$this->requiredby = array('modPlace');
// Minimum version of PHP required by module