From 2aa0c4d4062b823ebe6087ec716fa9dc7c325f44 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sun, 5 May 2013 18:26:30 +0000 Subject: [PATCH] sort PDF values --- lam/lib/baseModule.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/lam/lib/baseModule.inc b/lam/lib/baseModule.inc index ed5149d8..8c6da5b8 100644 --- a/lam/lib/baseModule.inc +++ b/lam/lib/baseModule.inc @@ -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('' . $label . '' . $value . '');