Update number_translation_edit.php (#6726)
This commit is contained in:
parent
a001f27730
commit
b4122d04e0
|
|
@ -108,7 +108,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//redirect the user
|
//redirect the user
|
||||||
if (!empty($_POST['action'], array('copy', 'delete', 'toggle'))) {
|
if (!empty($_POST['action']) && in_array($_POST['action'], array('copy', 'delete', 'toggle'))) {
|
||||||
header('Location: number_translation_edit.php?id='.$number_translation_uuid);
|
header('Location: number_translation_edit.php?id='.$number_translation_uuid);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue