]> git.mxchange.org Git - friendica.git/commitdiff
incorrect slinky param
authorFriendika <info@friendika.com>
Thu, 17 Mar 2011 22:31:46 +0000 (15:31 -0700)
committerFriendika <info@friendika.com>
Thu, 17 Mar 2011 22:31:46 +0000 (15:31 -0700)
addon/facebook/facebook.php

index e1ea6673be807d3d3a1be281f6aa6e790d8ce17f..f3f313efe66a5408b558c0692b21338f7a2854f3 100644 (file)
@@ -237,7 +237,7 @@ function facebook_post_hook(&$a,&$b) {
                                        require_once('library/slinky.php');
 
                                        $display_url = $a->get_baseurl() . '/display/' . $a->user['nickname'] . '/' . $b['id'];
-                                       $slinky = new Slinky( $posturl );
+                                       $slinky = new Slinky( $display_url );
                                        // setup a cascade of shortening services
                                        // try to get a short link from these services
                                        // in the order ur1.ca, trim, id.gd, tinyurl