mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
address deprecation warnings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user