Oh no ... there are still some notices that want to be removed ...

This commit is contained in:
Michael 2018-08-24 11:09:58 +00:00
parent 93ba393559
commit 82d097879b
3 changed files with 10 additions and 5 deletions

View file

@ -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"]) &&