]> git.mxchange.org Git - friendica-addons.git/blobdiff - fbsync/fbsync.php
The GUID in the link to the items has to be encoded, since it could contain special...
[friendica-addons.git] / fbsync / fbsync.php
index fe5b6faf0ae8b5823498386a1c2899137a23ab8a..78ecea1dd6978c0d80e3f7f706bf84884e0f1da5 100644 (file)
@@ -625,8 +625,7 @@ function fbsync_createcomment($a, $uid, $self_id, $self, $user, $contacts, $appl
                                        'to_email'     => $user[0]['email'],
                                        'uid'          => $user[0]['uid'],
                                        'item'         => $postarray,
-                                       //'link'         => $a->get_baseurl() . '/display/' . $user[0]['nickname'] . '/' . $item,
-                                       'link'         => $a->get_baseurl().'/display/'.get_item_guid($item),
+                                       'link'         => $a->get_baseurl().'/display/'.urlencode(get_item_guid($item)),
                                        'source_name'  => $postarray['author-name'],
                                        'source_link'  => $postarray['author-link'],
                                        'source_photo' => $postarray['author-avatar'],