1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-10 17:26:25 +02:00

issue-256: Fix PHP 7.3 compatibility issues (#266)

This commit is contained in:
kishor
2020-09-15 22:08:39 +05:30
committed by GitHub
parent 15258fd24e
commit 4285590c90
2 changed files with 5 additions and 3 deletions

View File

@ -257,8 +257,9 @@ class HTMLPurifier_HTMLModule
*/
public function makeLookup($list)
{
$args = func_get_args();
if (is_string($list)) {
$list = func_get_args();
$list = $args;
}
$ret = array();
foreach ($list as $value) {