FIX pb of duplicate event on command when refreshing the page after command classification as billed or closed
This commit is contained in:
parent
90b2d41b02
commit
1ee8c34bf5
@ -1283,8 +1283,8 @@ if (empty($reshook))
|
||||
}
|
||||
|
||||
//Used to not reclass as a billed or closed command which is already billed by refreshing the page
|
||||
if (strpos($_SERVER["REQUEST_URI"], 'action=classifybilled') && $object->billed
|
||||
|| strpos($_SERVER["REQUEST_URI"], 'action=confirm_shipped') && Commande::STATUS_CLOSED
|
||||
if (strpos($_SERVER["REQUEST_URI"], 'action=classifybilled') && $object->billed
|
||||
|| strpos($_SERVER["REQUEST_URI"], 'action=confirm_shipped') && Commande::STATUS_CLOSED
|
||||
)
|
||||
{
|
||||
header("Location: $_SERVER[PHP_SELF]?id=$object->id");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user