fix zidify_img_callback - wrong number of args

This commit is contained in:
friendica 2013-05-27 19:50:29 -07:00
parent df32c93d56
commit ad0c5e3c68

View File

@ -1143,7 +1143,7 @@ function zidify_img_callback($match) {
$replace = '<img' . $match[1] . ' src="' . zid($match[2]) . '"'; $replace = '<img' . $match[1] . ' src="' . zid($match[2]) . '"';
} }
else { 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]); $x = str_replace($match[0],$replace,$match[0]);