address deprecation warnings

This commit is contained in:
Mario
2022-02-13 18:58:12 +00:00
parent 4b06bc552f
commit a7ec1805e3
8 changed files with 35 additions and 19 deletions

View File

@@ -488,9 +488,9 @@ function getAttachmentData($body) {
$data["preview"] = html_entity_decode($preview, ENT_QUOTES, 'UTF-8');
}
$data["description"] = trim($match[3]);
$data["description"] = ((isset($match[3])) ? trim($match[3]) : '');
$data["after"] = trim($match[4]);
$data["after"] = ((isset($match[4])) ? trim($match[4]) : '');
return $data;
}