Fix: strict mode
This commit is contained in:
parent
3c63307087
commit
720d0d99b0
@ -51,7 +51,7 @@ function societe_prepare_head($object)
|
|||||||
$head[$h][2] = 'prospect';
|
$head[$h][2] = 'prospect';
|
||||||
$h++;
|
$h++;
|
||||||
}
|
}
|
||||||
if ($object->client==1 || $object->client==3 || (is_object($object->object) && $object->object->client==1) || (is_object($object->object) && $object->object->client==3))
|
if ($object->client==1 || $object->client==3 || (isset($object->object) && $object->object->client==1) || (isset($object->object) && $object->object->client==3))
|
||||||
{
|
{
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$object->id;
|
$head[$h][0] = DOL_URL_ROOT.'/comm/fiche.php?socid='.$object->id;
|
||||||
$head[$h][1] = $langs->trans("Customer");
|
$head[$h][1] = $langs->trans("Customer");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user