Merge pull request #271 from mkoch227/cannot-create-status

[MFH-2] Fix status validation
merge-requests/2/head
Mike Koch 9 years ago
commit 70b695f5bf

@ -317,7 +317,7 @@ function save() {
//-- Validate the new one if at least one of the fields are used / checked //-- Validate the new one if at least one of the fields are used / checked
if ($_POST['sN_key'] != null || $_POST['sN_textColor'] != null || isset($_POST['sN_isClosed'])) if ($_POST['sN_key'] != null || $_POST['sN_textColor'] != null || isset($_POST['sN_isClosed']))
{ {
validateStatus($_POST['sN_shortName'], $_POST['sN_textColor']); validateStatus($_POST['sN_key'], $_POST['sN_textColor']);
} }
hesk_dbConnect(); hesk_dbConnect();

Loading…
Cancel
Save