Bug when multiple extension: the select list must be on the good value

This commit is contained in:
Dany De Bontridder 2010-05-13 13:23:47 +00:00
parent 668309a9c9
commit c6ed580d18
2 changed files with 1 additions and 0 deletions

Binary file not shown.

View file

@ -75,6 +75,7 @@ EOF;
/* show all the extension we can access */
$a=new ISelect('code');
$a->value=Extension::make_array($cn);
$a->selected=(isset($_REQUEST['code']))?strtoupper($_REQUEST['code']):'';
/* no plugin available */
if ( count($a->value) == 0 ) {alert(j(_("Aucune extension disponible")));exit;}