sort PDF values

This commit is contained in:
Roland Gruber 2013-05-05 18:26:30 +00:00
parent 1abec30bcd
commit 2aa0c4d406
1 changed files with 1 additions and 0 deletions

View File

@ -839,6 +839,7 @@ abstract class baseModule {
}
$value = '';
if (isset($this->attributes[$attrName]) && (sizeof($this->attributes[$attrName]) > 0)) {
natcasesort($this->attributes[$attrName]);
$value = implode($delimiter, $this->attributes[$attrName]);
}
$result[get_class($this) . '_' . $name] = array('<block><key>' . $label . '</key><value>' . $value . '</value></block>');