aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-29 16:44:02 -0700
committerfriendica <info@friendica.com>2012-05-29 16:44:02 -0700
commit419cf91aae555f6e42767765f476b1f1cc85e5df (patch)
treee1389042de771dc9784ba3b0217500b914a7cf35 /include
parent2eafa9a47519f9f35c5eb568cf4235c092c1dcce (diff)
downloadvolse-hubzilla-419cf91aae555f6e42767765f476b1f1cc85e5df.tar.gz
volse-hubzilla-419cf91aae555f6e42767765f476b1f1cc85e5df.tar.bz2
volse-hubzilla-419cf91aae555f6e42767765f476b1f1cc85e5df.zip
bugfixes: private photo embeds and search for strings with %
Diffstat (limited to 'include')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 3fe977b6f..b08e491be 100644
--- a/include/items.php
+++ b/include/items.php
@@ -2931,7 +2931,7 @@ function fix_private_photos($s,$uid, $item = null, $cid = 0) {
$a = get_app();
logger('fix_private_photos', LOGGER_DEBUG);
- $site = substr($a->get_baseurl(),strpos($a->get_baseurl,'://'));
+ $site = substr($a->get_baseurl(),strpos($a->get_baseurl(),'://'));
if(preg_match("/\[img\](.*?)\[\/img\]/is",$s,$matches)) {
$image = $matches[1];