romanitalian / phpquery

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

Mistake in code #166

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
    public static function _phpToMarkupCallback($php, $charset = 'utf-8') {
        return $m[1].$m[2]
            .htmlspecialchars("<"."?php".$m[4]."?".">", ENT_QUOTES|ENT_NOQUOTES, $charset)
            .$m[5].$m[2];
    }

Replace $m with $php

Original issue reported on code.google.com by KBord...@gmail.com on 6 Jan 2011 at 9:00

GoogleCodeExporter commented 8 years ago
Fixed code:
http://code.google.com/p/xvweb/source/browse/trunk/%20xvweb/core/libraries/phpQu
ery/phpQuery.php

Original comment by KBord...@gmail.com on 13 Feb 2011 at 12:07