Merge pull request #6395 from atm-florian/develop

Fix travis for php 7
This commit is contained in:
Laurent Destailleur 2017-02-08 09:58:54 +01:00 committed by GitHub
commit c4b95e6509

View File

@ -281,7 +281,6 @@ $special = $objMod->special;
if (! $objMod->getName())
{
dol_syslog("Error for module ".$key." - Property name of module looks empty", LOG_WARNING);
continue;
}
$const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i','',get_class($objMod)));