mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Some more notices fixed (#672)
This commit is contained in:
parent
f4763f67ad
commit
31d0fac64a
3 changed files with 6 additions and 4 deletions
|
@ -363,11 +363,11 @@ function fromgplus_handleattachments($a, $uid, $item, $displaytext, $shared) {
|
|||
}
|
||||
}
|
||||
|
||||
if ($images["preview"] != "") {
|
||||
if (!empty($images["preview"])) {
|
||||
$post .= "\n[url=".$images["page"]."][img]".$images["preview"]."[/img][/url]\n";
|
||||
$pagedata["images"][0]["src"] = $images["preview"];
|
||||
$pagedata["url"] = $images["page"];
|
||||
} elseif ($images["full"] != "") {
|
||||
} elseif (!empty($images["full"])) {
|
||||
$post .= "\n[img]".$images["full"]."[/img]\n";
|
||||
$pagedata["images"][0]["src"] = $images["full"];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue