aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 79e520150..cac272be5 100644
--- a/boot.php
+++ b/boot.php
@@ -2547,8 +2547,8 @@ function prepare_body($item,$attach = false) {
return $s;
$arr = explode(',',$item['attach']);
- $s .= '<div class="body-attach">';
if(count($arr)) {
+ $s .= '<div class="body-attach">';
foreach($arr as $r) {
$matches = false;
$icon = '';
@@ -2572,8 +2572,8 @@ function prepare_body($item,$attach = false) {
$s .= '<a href="' . strip_tags($matches[1]) . '" title="' . $title . '" class="attachlink" target="external-link" >' . $icon . '</a>';
}
}
+ $s .= '<div class="clear"></div></div>';
}
- $s .= '<div class="clear"></div></div>';
return $s;
}}