mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
show[Document|Folder]Attribute may return a string
This commit is contained in:
parent
da5fed3591
commit
8c73f36151
|
@ -314,6 +314,8 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
|
|||
echo "<td>".$arr[0].":</td>";
|
||||
echo "<td>".$arr[1]."</td>";
|
||||
echo "</tr>";
|
||||
} elseif(is_string($arr)) {
|
||||
echo $arr;
|
||||
} else {
|
||||
$this->printAttribute($attribute);
|
||||
}
|
||||
|
|
|
@ -262,6 +262,8 @@ $('body').on('click', '.order-btn', function(ev) {
|
|||
echo "<td>".$arr[0].":</td>";
|
||||
echo "<td>".$arr[1].":</td>";
|
||||
echo "</tr>";
|
||||
} elseif(is_string($arr)) {
|
||||
echo $arr;
|
||||
} else {
|
||||
$attrdef = $attribute->getAttributeDefinition();
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user