Permalink
Browse files

SimplePie_Misc::entities_decode() doesn't take an encoding arg

  • Loading branch information...
1 parent 351b92e commit 5e046a3e681f82b1294c4418d8c773e9cf7c9fa0 @rlerdorf rlerdorf committed Apr 29, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 library/SimplePie/Misc.php
@@ -124,7 +124,7 @@ public static function get_element($realname, $string)
{
$attribs[$j][2] = $attribs[$j][1];
}
- $return[$i]['attribs'][strtolower($attribs[$j][1])]['data'] = SimplePie_Misc::entities_decode(end($attribs[$j]), 'UTF-8');
+ $return[$i]['attribs'][strtolower($attribs[$j][1])]['data'] = SimplePie_Misc::entities_decode(end($attribs[$j]));
}
}
}

0 comments on commit 5e046a3

Please sign in to comment.