mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-25 13:08:58 +00:00
Fix important issue
This commit is contained in:
parent
0a79db3c70
commit
fa5fd02c18
@ -239,9 +239,9 @@ class PostsController {
|
||||
|
||||
//Save URL informations
|
||||
$link_url = $url;
|
||||
$link_title = isset($page_infos["title"]) ? $page_infos["title"] : null;
|
||||
$link_description = isset($page_infos["description"]) ? $page_infos["description"] : null;
|
||||
$link_image = isset($page_infos["image"]) ? $page_infos["image"] : null;
|
||||
$link_title = isset($page_infos["title"]) ? $page_infos["title"] : "";
|
||||
$link_description = isset($page_infos["description"]) ? $page_infos["description"] : "";
|
||||
$link_image = isset($page_infos["image"]) ? $page_infos["image"] : "";
|
||||
|
||||
$post->set_link_url($link_url);
|
||||
$post->set_link_title($link_title);
|
||||
|
Loading…
Reference in New Issue
Block a user