mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50:11 +00:00
Merge branch '2019.01-rc' into bug/6334-escape-get-app
This commit is contained in:
commit
e447375cdd
27 changed files with 136 additions and 72 deletions
|
@ -1228,7 +1228,7 @@ class OStatus
|
|||
{
|
||||
$siteinfo = BBCode::getAttachedData($body);
|
||||
|
||||
if (($siteinfo["type"] == "photo")) {
|
||||
if (($siteinfo["type"] == "photo") && (!empty($siteinfo["preview"]) || !empty($siteinfo["image"]))) {
|
||||
if (isset($siteinfo["preview"])) {
|
||||
$preview = $siteinfo["preview"];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue