From: Michael Vogel Date: Tue, 14 Aug 2018 01:53:30 +0000 (+0200) Subject: Fix the hash generation in IFTTT (#702) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=46222ae13b214553c5d4a9c5611f639738337606;p=friendica-addons.git Fix the hash generation in IFTTT (#702) --- diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index d12381fd..55f46091 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -181,7 +181,7 @@ function ifttt_message($uid, $item) //$_REQUEST['uri'] = $item['url']; if (strstr($item['url'], 'facebook.com')) { - $hash = hash('ripemd128', item['url']); + $hash = hash('ripemd128', $item['url']); $_REQUEST['extid'] = Protocol::FACEBOOK; $_REQUEST['message_id'] = Item::newURI($uid, Protocol::FACEBOOK . ':' . $hash); }