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

[MFH-2] Fix status validation
This commit is contained in:
Mike Koch 2015-06-28 01:15:10 -04:00
commit 70b695f5bf

View File

@ -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();