1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-06 22:26:31 +02:00

Fix call-time pass by reference typos.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@326 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2006-08-27 02:08:50 +00:00
parent 78414abafd
commit 0d4ee2ba37
2 changed files with 5 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ class HTMLPurifier_AttrDef_Border extends HTMLPurifier_AttrDef
foreach ($bits as $bit) {
foreach ($this->info as $propname => $validator) {
if (isset($done[$propname])) continue;
$r = $validator->validate($bit, $config, &$context);
$r = $validator->validate($bit, $config, $context);
if ($r !== false) {
$ret .= $r . ' ';
$done[$propname] = true;