Fix: remove obsolete code
This commit is contained in:
parent
b78b0830d1
commit
a663f8fb3b
@ -42,8 +42,7 @@ $ref = GETPOST('ref', 'alpha');
|
|||||||
// Security check
|
// Security check
|
||||||
if ($user->societe_id > 0)
|
if ($user->societe_id > 0)
|
||||||
{
|
{
|
||||||
unset($_GET["action"]);
|
unset($action);
|
||||||
$action='';
|
|
||||||
$socid = $user->societe_id;
|
$socid = $user->societe_id;
|
||||||
}
|
}
|
||||||
$result = restrictedArea($user, 'societe', $id, '&societe');
|
$result = restrictedArea($user, 'societe', $id, '&societe');
|
||||||
@ -188,8 +187,7 @@ if ($object->id)
|
|||||||
$formfile->form_attach_new_file($_SERVER["PHP_SELF"].'?id='.$object->id,'',0,0,$user->rights->societe->creer,50,$object);
|
$formfile->form_attach_new_file($_SERVER["PHP_SELF"].'?id='.$object->id,'',0,0,$user->rights->societe->creer,50,$object);
|
||||||
|
|
||||||
// List of document
|
// List of document
|
||||||
$param='&socid='.$object->id;
|
$formfile->list_of_documents($filearray,$object,'societe');
|
||||||
$formfile->list_of_documents($filearray,$object,'societe',$param);
|
|
||||||
|
|
||||||
print "<br><br>";
|
print "<br><br>";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user