diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-03-24 11:36:51 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-03-24 11:36:51 +0100 |
commit | b1a16f2a45a112e8608454f2a1cb0ff71cb61553 (patch) | |
tree | e1ba34e0f94c20b8a633b1a72503717670635068 /inc | |
parent | b7ab3fe425189cfd02caf52ad2997af491d89d2c (diff) | |
parent | 88945224671d69f8fae0a3d4ab1acf003d7d747d (diff) | |
download | rpg-b1a16f2a45a112e8608454f2a1cb0ff71cb61553.tar.gz rpg-b1a16f2a45a112e8608454f2a1cb0ff71cb61553.tar.bz2 |
Merge pull request #613 from splitbrain/detail_charset_fix
Add encoding fix to tpl_img_getTag()
Diffstat (limited to 'inc')
-rw-r--r-- | inc/template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php index a3808aa81..35b54b4c3 100644 --- a/inc/template.php +++ b/inc/template.php @@ -1044,7 +1044,7 @@ function tpl_img_getTag($tags, $alt = '', $src = null) { static $meta = null; if(is_null($meta)) $meta = new JpegMeta($src); if($meta === false) return $alt; - $info = $meta->getField($tags); + $info = cleanText($meta->getField($tags)); if($info == false) return $alt; return $info; } |