aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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]);