mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 23:24:57 +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[0].":</td>";
|
||||||
echo "<td>".$arr[1]."</td>";
|
echo "<td>".$arr[1]."</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
} elseif(is_string($arr)) {
|
||||||
|
echo $arr;
|
||||||
} else {
|
} else {
|
||||||
$this->printAttribute($attribute);
|
$this->printAttribute($attribute);
|
||||||
}
|
}
|
||||||
|
|
|
@ -262,6 +262,8 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
echo "<td>".$arr[0].":</td>";
|
echo "<td>".$arr[0].":</td>";
|
||||||
echo "<td>".$arr[1].":</td>";
|
echo "<td>".$arr[1].":</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
} elseif(is_string($arr)) {
|
||||||
|
echo $arr;
|
||||||
} else {
|
} else {
|
||||||
$attrdef = $attribute->getAttributeDefinition();
|
$attrdef = $attribute->getAttributeDefinition();
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user