0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-22 08:21:52 +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:
Edward Z. Yang 2007-05-25 01:44:01 +00:00
parent fa05319e30
commit 69666e977f

View File

@ -54,7 +54,7 @@ class HTMLPurifier_DefinitionCache_Serializer extends
}
$fh = fopen($file, 'w');
if (!$fh) return false;
$status = fwrite($fh, $contents);
$status = fwrite($fh, $data);
fclose($fh);
return $status;
}