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

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