mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-02 12:21:09 +02: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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user