htmspecialchars_decode only takes one argument.

This commit is contained in:
zottel 2013-12-12 13:32:11 +01:00
parent 303324cdff
commit 3a11980e49

View file

@ -582,7 +582,7 @@ function scale_external_images($s, $include_link = true, $scale_replace = false)
$a = get_app();
// Picture addresses can contain special characters
$s = htmlspecialchars_decode($s, ENT_COMPAT,'UTF-8');
$s = htmlspecialchars_decode($s, ENT_COMPAT);
$matches = null;
$c = preg_match_all('/\[img(.*?)\](.*?)\[\/img\]/ism',$s,$matches,PREG_SET_ORDER);