diff --git a/app/number_translations/number_translation_edit.php b/app/number_translations/number_translation_edit.php index fd68e36bcd..704dba9b71 100644 --- a/app/number_translations/number_translation_edit.php +++ b/app/number_translations/number_translation_edit.php @@ -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; }