From bbebc8a9ff6569a2751184fce69b4bed1f593774 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 13 Aug 2018 18:50:55 +0000 Subject: [PATCH] Fix the hash generation in IFTTT --- ifttt/ifttt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }