roycn / phpquery

Automatically exported from code.google.com/p/phpquery
0 stars 0 forks source link

Bug in DOMDocumentWrapper.php #216

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
function charsetAppendToHTML
---------
if (strpos($html, '<head') === false) {
            if (strpos($hltml, '<html') === false) {
----------

$hltml - undefined variable - fatal error with PHP 5.2

must be $html

Original issue reported on code.google.com by aroschup...@gmail.com on 23 Aug 2012 at 9:25