aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-03 03:54:19 -0700
committerfriendica <info@friendica.com>2012-11-03 03:54:19 -0700
commit1971b9645206abe8eee3b5fe9f355fef4e23f914 (patch)
tree7b513af646dde2cb9d8b5fe362acd36e7aea51e6 /mod/item.php
parent2fa93655c44881a5e662a9ea2b47232770a23597 (diff)
downloadvolse-hubzilla-1971b9645206abe8eee3b5fe9f355fef4e23f914.tar.gz
volse-hubzilla-1971b9645206abe8eee3b5fe9f355fef4e23f914.tar.bz2
volse-hubzilla-1971b9645206abe8eee3b5fe9f355fef4e23f914.zip
share mostly working, preview still horked
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 94d11f4d6..c845ca57e 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -938,7 +938,7 @@ function fix_attached_photo_permissions($uid,$xchan_hash,$body,
$images = $match[1];
if($images) {
foreach($images as $image) {
- if(! stristr($image,$a->get_baseurl() . '/photo/'))
+ if(! stristr($image,get_app()->get_baseurl() . '/photo/'))
continue;
$image_uri = substr($image,strrpos($image,'/') + 1);
$image_uri = substr($image_uri,0, strpos($image_uri,'-'));