mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-03-23 22:37:02 +00:00
Fixed typo that caused problems with native PHP 4 fwrite Serializer code.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1094 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
fa05319e30
commit
69666e977f
@ -54,7 +54,7 @@ class HTMLPurifier_DefinitionCache_Serializer extends
|
|||||||
}
|
}
|
||||||
$fh = fopen($file, 'w');
|
$fh = fopen($file, 'w');
|
||||||
if (!$fh) return false;
|
if (!$fh) return false;
|
||||||
$status = fwrite($fh, $contents);
|
$status = fwrite($fh, $data);
|
||||||
fclose($fh);
|
fclose($fh);
|
||||||
return $status;
|
return $status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user