Skip to content
Snippets Groups Projects
Commit 720d0d99 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: strict mode

parent 3c633070
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ function societe_prepare_head($object)
$head[$h][2] = 'prospect';
$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][1] = $langs->trans("Customer");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment