Merge pull request #18018 from frederic34/patch-7
export value of checkbox instead id with EXPORT_LABEL_FOR_SELECT
This commit is contained in:
commit
97f5a0e541
@ -36,6 +36,7 @@ if ($resql) { // This can fail when class is used on old database (during mig
|
|||||||
case 'boolean':
|
case 'boolean':
|
||||||
$typeFilter = "Boolean";
|
$typeFilter = "Boolean";
|
||||||
break;
|
break;
|
||||||
|
case 'checkbox':
|
||||||
case 'select':
|
case 'select':
|
||||||
if (!empty($conf->global->EXPORT_LABEL_FOR_SELECT)) {
|
if (!empty($conf->global->EXPORT_LABEL_FOR_SELECT)) {
|
||||||
$tmpparam = unserialize($obj->param); // $tmpparam may be array with 'options' = array(key1=>val1, key2=>val2 ...)
|
$tmpparam = unserialize($obj->param); // $tmpparam may be array with 'options' = array(key1=>val1, key2=>val2 ...)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user