Fix important issue

This commit is contained in:
Pierre 2018-04-26 17:50:23 +02:00
parent 0a79db3c70
commit fa5fd02c18

View File

@ -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);