Fix: Update select with list

This commit is contained in:
Laurent Destailleur 2013-06-14 02:09:34 +02:00
parent c1b21d1480
commit b3ca9de399
2 changed files with 35 additions and 33 deletions

View File

@ -63,10 +63,12 @@ if((($type == 'select') || ($type == 'checkbox') ||(($type == 'radio'))) && is_a
{ {
if(strlen($key)) if(strlen($key))
{ {
$param_chain .= $key.', '.$value."\n"; $param_chain .= $key.','.$value."\n";
} }
} }
}elseif ($type== 'sellist') { }
elseif ($type== 'sellist')
{
$paramlist=array_keys($param['options']); $paramlist=array_keys($param['options']);
$param_chain = $paramlist[0]; $param_chain = $paramlist[0];
} }