Skip to content
Snippets Groups Projects
Commit 4309705b authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: bad array

parent 00784ffc
No related branches found
No related tags found
No related merge requests found
......@@ -41,9 +41,9 @@ $consts=GETPOST('const');
$constname=GETPOST('constname','alpha');
$constvalue=GETPOST('constvalue');
$constnote=GETPOST('constnote','alpha');
$consttype=GETPOST('consttype','alpha');
$consttype=(GETPOST('consttype','alpha')?GETPOST('consttype','alpha'):'chaine');
$typeconst=array('yesno','texte','chaine');
$typeconst=array('yesno' => 'yesno', 'texte' => 'texte', 'chaine' => 'chaine');
$mesg='';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment