Fixed: Avoid warning

This commit is contained in:
Laurent Destailleur 2015-01-10 18:19:44 +01:00
parent 90add2fa96
commit c441aa89db

View File

@ -748,6 +748,8 @@ abstract class DolibarrModules
$err=0;
if (empty($this->const)) return 0;
foreach ($this->const as $key => $value)
{
$name = $this->const[$key][0];
@ -816,6 +818,8 @@ abstract class DolibarrModules
$err=0;
if (empty($this->const)) return 0;
foreach ($this->const as $key => $value)
{
$name = $this->const[$key][0];