MINOR Removed double brackets from Diff::cleanHTML()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98480 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-02-08 23:35:52 +00:00 committed by Sam Minnee
parent 4192dcdf07
commit 16e1941203

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;
}