diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index be80f32ac..fca389356 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -532,47 +532,56 @@ $(document).ready(function () { echo "".getMLText("document")."\n"; echo "
\n"; echo "\n"; echo "
\n"; @@ -1140,7 +1149,7 @@ function folderSelected(id, name) { if(!$attrdef->getMultipleValues()) { echo ""; } - $objvalue = $attribute ? $attribute->getValueAsArray() : array(); + $objvalue = $attribute ? (is_object($attribute) ? $attribute->getValueAsArray() : $attribute) : array(); foreach($valueset as $value) { if($value) { echo "