diff options
author | friendica <info@friendica.com> | 2012-11-03 03:54:19 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-03 03:54:19 -0700 |
commit | 1971b9645206abe8eee3b5fe9f355fef4e23f914 (patch) | |
tree | 7b513af646dde2cb9d8b5fe362acd36e7aea51e6 /mod/item.php | |
parent | 2fa93655c44881a5e662a9ea2b47232770a23597 (diff) | |
download | volse-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.php | 2 |
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,'-')); |