mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Oh no ... there are still some notices that want to be removed ...
This commit is contained in:
parent
93ba393559
commit
82d097879b
3 changed files with 10 additions and 5 deletions
|
@ -29,6 +29,10 @@ function add_page_info_data(array $data, $no_photos = false)
|
|||
{
|
||||
Addon::callHooks('page_info_data', $data);
|
||||
|
||||
if (empty($data['type'])) {
|
||||
return '';
|
||||
}
|
||||
|
||||
// It maybe is a rich content, but if it does have everything that a link has,
|
||||
// then treat it that way
|
||||
if (($data["type"] == "rich") && is_string($data["title"]) &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue