Bug: possible to set an empy name for an Analytic plan
This commit is contained in:
parent
1eb9607600
commit
14245bac9f
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ if ($action=="display") {
|
|||
}
|
||||
if ($action=="ok") {
|
||||
$value=$http->post("value");
|
||||
if ( $input->name=="pa_name" && trim($input->value) == "")
|
||||
if ( $input->name=="pa_name" && trim($value) == "")
|
||||
{
|
||||
echo _("Le nom ne peut être vide"),$answer->ajax_input();
|
||||
}else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue