Fix variable name in phpQuery o.O

This commit is contained in:
Klaus-Uwe Mitterer 2017-09-19 19:23:37 +02:00
parent 588fad19d1
commit 2abd38309f

View file

@ -514,7 +514,7 @@ class DOMDocumentWrapper {
.($xhtml ? '/' : '') .($xhtml ? '/' : '')
.'>'; .'>';
if (strpos($html, '<head') === false) { if (strpos($html, '<head') === false) {
if (strpos($hltml, '<html') === false) { if (strpos($html, '<html') === false) {
return $meta.$html; return $meta.$html;
} else { } else {
return preg_replace( return preg_replace(
@ -5699,4 +5699,4 @@ set_include_path(
phpQuery::$plugins = new phpQueryPlugins(); phpQuery::$plugins = new phpQueryPlugins();
// include bootstrap file (personal library config) // include bootstrap file (personal library config)
if (file_exists(dirname(__FILE__).'/phpQuery/bootstrap.php')) if (file_exists(dirname(__FILE__).'/phpQuery/bootstrap.php'))
require_once dirname(__FILE__).'/phpQuery/bootstrap.php'; require_once dirname(__FILE__).'/phpQuery/bootstrap.php';