Still there had been notices - must have a good camouflage

This commit is contained in:
Michael 2018-08-31 05:08:22 +00:00
parent b028de3aa3
commit 380eeaab88
4 changed files with 12 additions and 4 deletions

View file

@ -2407,8 +2407,11 @@ class DFRN
break;
case "enclosure":
$enclosure = $href;
if (strlen($item["attach"])) {
if (!empty($item["attach"])) {
$item["attach"] .= ",";
} else {
$item["attach"] = "";
}
$item["attach"] .= '[attach]href="' . $href . '" length="' . $length . '" type="' . $type . '" title="' . $title . '"[/attach]';