From 46222ae13b214553c5d4a9c5611f639738337606 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 14 Aug 2018 03:53:30 +0200 Subject: [PATCH] Fix the hash generation in IFTTT (#702) --- ifttt/ifttt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index d12381fd0..55f46091f 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); }