Code comment
This commit is contained in:
parent
d4a5491753
commit
26507ee712
@ -6969,7 +6969,7 @@ function complete_head_from_modules($conf,$langs,$object,&$head,&$h,$type,$mode=
|
|||||||
foreach($head as $key => $val)
|
foreach($head as $key => $val)
|
||||||
{
|
{
|
||||||
$condition = (! empty($values[3]) ? verifCond($values[3]) : 1);
|
$condition = (! empty($values[3]) ? verifCond($values[3]) : 1);
|
||||||
//var_dump($key.' - '.$tabname.' - '.$head[$key][2].' - '.$condition);
|
//var_dump($key.' - '.$tabname.' - '.$head[$key][2].' - '.$values[3].' - '.$condition);
|
||||||
if ($head[$key][2]==$tabname && $condition)
|
if ($head[$key][2]==$tabname && $condition)
|
||||||
{
|
{
|
||||||
unset($head[$key]);
|
unset($head[$key]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user