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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}