BUGFIX: fixing typo

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105891 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mateusz Uzdowski 2010-05-28 04:20:52 +00:00
parent f3dbe12602
commit 8449c0420c

View File

@ -674,7 +674,7 @@ class Diff
* use, overriding self::$html_cleaner_class
*/
static function cleanHTML($content, $cleaner=null) {
if (!$cleaner)) {
if (!$cleaner) {
if (class_exists(self::$html_cleaner_class)) {
$cleaner = new self::$html_cleaner_class;
}