mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
Add name class member variable to modules.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@749 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -282,9 +282,8 @@ class HTMLPurifier_HTMLDefinition
|
||||
trigger_error('Order keyword does not exist', E_USER_ERROR);
|
||||
return;
|
||||
}
|
||||
$name = strtolower(get_class($module));
|
||||
$this->modules[$name] = $module;
|
||||
$this->modules_order[$name] = $order;
|
||||
$this->modules[$module->name] = $module;
|
||||
$this->modules_order[$module->name] = $order;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user