Fix
This commit is contained in:
parent
689fa752bf
commit
14a4cae95b
@ -506,7 +506,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Refuse - Decline
|
// Refuse - Decline
|
||||||
if ($object->status >= $object::STATUS_DRAFT && $object->status < $object::STATUS_CANCELED)
|
if ($object->status >= $object::STATUS_VALIDATED && $object->status < $object::STATUS_CANCELED)
|
||||||
{
|
{
|
||||||
if ($permissiontoadd)
|
if ($permissiontoadd)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user