Update number_translation_edit.php (#6726)

This commit is contained in:
Alex
2023-05-26 16:32:59 -06:00
committed by GitHub
parent a001f27730
commit b4122d04e0

View File

@@ -108,7 +108,7 @@
}
//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);
exit;
}