Fix(scrutinizer)

This commit is contained in:
FLIO 2022-11-30 14:16:58 +01:00
parent 51f02d9eaf
commit d9862ea007
2 changed files with 1 additions and 9 deletions

View File

@ -51,11 +51,6 @@ class Dolresource extends CommonObject
public $busy;
public $mandatory;
/**
* @var integer
*/
public $socid;
/**
* @var int ID
*/

View File

@ -114,10 +114,7 @@ llxHeader('', $langs->trans("Resource"));
// View and edit mode
if ($id > 0 || !empty($ref)) {
$soc = new Societe($db);
$soc->fetch($object->socid);
$head = resource_prepare_head($object);
print dol_get_fiche_head($head, 'contact', $langs->trans("ResourceSingular"), -1, 'resource');