unset($links);
$attachments .= "</TD></TR>\n";
}
+ $attachmentadd = do_hook_function('attachments_bottom',$attachments);
+ if ($attachmentadd != '')
+ $attachments = $attachmentadd;
return $attachments;
}
$aString = explode(' ',$string);
$ret = '';
foreach ($aString as $chunk) {
- if ($encoded && !$chunk) {
+ if ($encoded && $chunk === ' ') {
continue;
- } elseif (!$chunk) {
+ } elseif ($chunk === ' ') {
$ret .= ' ';
continue;
}