Fix: missing "$disableremove" global

This commit is contained in:
Regis Houssin 2018-07-01 15:33:10 +02:00
parent c0c8a70dd5
commit df55bee8ae
2 changed files with 2 additions and 2 deletions

View File

@ -3838,7 +3838,7 @@ abstract class CommonObject
{ {
global $conf,$langs,$user,$object,$hookmanager; global $conf,$langs,$user,$object,$hookmanager;
global $form,$bc,$bcdd; global $form,$bc,$bcdd;
global $object_rights, $disableedit, $disablemove; // TODO We should not use global var for this ! global $object_rights, $disableedit, $disablemove, $disableremove; // TODO We should not use global var for this !
$object_rights = $this->getRights(); $object_rights = $this->getRights();