aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-27 19:50:29 -0700
committerfriendica <info@friendica.com>2013-05-27 19:50:29 -0700
commitad0c5e3c68202ace86be221756a4be57c23e5630 (patch)
tree19acf09f822722f08f0d33941ae150149691d803 /include/text.php
parentdf32c93d562f0dfcc28ebf36723ef07dab630b90 (diff)
downloadvolse-hubzilla-ad0c5e3c68202ace86be221756a4be57c23e5630.tar.gz
volse-hubzilla-ad0c5e3c68202ace86be221756a4be57c23e5630.tar.bz2
volse-hubzilla-ad0c5e3c68202ace86be221756a4be57c23e5630.zip
fix zidify_img_callback - wrong number of args
Diffstat (limited to 'include/text.php')
-rwxr-xr-xinclude/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index c0ab406e5..e1fc0ade5 100755
--- a/include/text.php
+++ b/include/text.php
@@ -1143,7 +1143,7 @@ function zidify_img_callback($match) {
$replace = '<img' . $match[1] . ' src="' . zid($match[2]) . '"';
}
else {
- $replace = '<img' . $match[1] . ' src="' . zid($match[3]) . '"';
+ $replace = '<img' . $match[1] . ' src="' . zid($match[2]) . '"';
}
$x = str_replace($match[0],$replace,$match[0]);