Fixing style errors.
This commit is contained in:
parent
fa21b27ced
commit
87b4805bc0
@ -266,7 +266,6 @@ if (empty($reshook)) {
|
|||||||
|
|
||||||
// If update and we are an approver, we can update with another approver
|
// If update and we are an approver, we can update with another approver
|
||||||
if ($action == 'update' && GETPOSTISSET('savevalidator') && !empty($user->rights->holiday->approve)) {
|
if ($action == 'update' && GETPOSTISSET('savevalidator') && !empty($user->rights->holiday->approve)) {
|
||||||
|
|
||||||
$object->fetch($id);
|
$object->fetch($id);
|
||||||
|
|
||||||
$object->oldcopy = dol_clone($object);
|
$object->oldcopy = dol_clone($object);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user