Fix(scrutinizer)
This commit is contained in:
parent
51f02d9eaf
commit
d9862ea007
@ -51,11 +51,6 @@ class Dolresource extends CommonObject
|
|||||||
public $busy;
|
public $busy;
|
||||||
public $mandatory;
|
public $mandatory;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var integer
|
|
||||||
*/
|
|
||||||
public $socid;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var int ID
|
* @var int ID
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -114,10 +114,7 @@ llxHeader('', $langs->trans("Resource"));
|
|||||||
// View and edit mode
|
// View and edit mode
|
||||||
|
|
||||||
if ($id > 0 || !empty($ref)) {
|
if ($id > 0 || !empty($ref)) {
|
||||||
$soc = new Societe($db);
|
|
||||||
$soc->fetch($object->socid);
|
|
||||||
|
|
||||||
|
|
||||||
$head = resource_prepare_head($object);
|
$head = resource_prepare_head($object);
|
||||||
print dol_get_fiche_head($head, 'contact', $langs->trans("ResourceSingular"), -1, 'resource');
|
print dol_get_fiche_head($head, 'contact', $langs->trans("ResourceSingular"), -1, 'resource');
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user