aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-17 15:31:46 -0700
committerFriendika <info@friendika.com>2011-03-17 15:31:46 -0700
commit5d9550e08f16b25f5680f1dcbefc78e60670981c (patch)
treeefa6b8d4c1ceb06c5ea851c4b1279b95258e4945
parenta5d5ae5efaa59abc6fc8888ccab303187a7a04ac (diff)
downloadvolse-hubzilla-5d9550e08f16b25f5680f1dcbefc78e60670981c.tar.gz
volse-hubzilla-5d9550e08f16b25f5680f1dcbefc78e60670981c.tar.bz2
volse-hubzilla-5d9550e08f16b25f5680f1dcbefc78e60670981c.zip
incorrect slinky param
-rw-r--r--addon/facebook/facebook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/addon/facebook/facebook.php b/addon/facebook/facebook.php
index e1ea6673b..f3f313efe 100644
--- a/addon/facebook/facebook.php
+++ b/addon/facebook/facebook.php
@@ -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