]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix the hash generation in IFTTT (#702)
authorMichael Vogel <icarus@dabo.de>
Tue, 14 Aug 2018 01:53:30 +0000 (03:53 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Tue, 14 Aug 2018 01:53:30 +0000 (03:53 +0200)
ifttt/ifttt.php

index d12381fd004fab212ad539ba98d96950f76916b1..55f46091fffa9c0a88cce2ac6eb8788162d25c61 100644 (file)
@@ -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);
        }