function IsEmptySelectByValue($value, $label = null, $modul = null, $sub_modul = null, $css = 'notebox-alert') { if (isset($value) && trim($value) == '') { if (!is_null($modul) && !is_null($sub_modul) && !is_null($label)) { Warning::SendAlert('empty_input', array($label), $modul, $sub_modul, $css); } return true; } else { return false; } }