mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-11 02:48:48 +00:00
Some removed notices
This commit is contained in:
parent
2db9b497bd
commit
19abd1a17e
2 changed files with 4 additions and 4 deletions
|
@ -180,7 +180,7 @@ function ifttt_message($uid, $item)
|
|||
//$_REQUEST['date'] = $item['date'];
|
||||
//$_REQUEST['uri'] = $item['url'];
|
||||
|
||||
if (strstr($item['url'], 'facebook.com')) {
|
||||
if (!empty($item['url']) && strstr($item['url'], 'facebook.com')) {
|
||||
$hash = hash('ripemd128', $item['url']);
|
||||
$_REQUEST['extid'] = Protocol::FACEBOOK;
|
||||
$_REQUEST['message_id'] = Item::newURI($uid, Protocol::FACEBOOK . ':' . $hash);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue