1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 19:30:21 +02:00

E_STRICT fix: put $config in parameter list even if it isn't used.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@204 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2006-08-11 20:26:25 +00:00
parent 0db1cbb7ac
commit 2090d94091
7 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ require_once 'HTMLPurifier/AttrDef.php';
class HTMLPurifier_AttrDef_Lang extends HTMLPurifier_AttrDef
{
function validate($string) {
function validate($string, $config = null) {
$string = trim($string);
if (!$string) return false;