From: Daniel Friesen Date: Sun, 25 Sep 2011 02:24:47 +0000 (+0000) Subject: Followup r94465; Don't use empty. X-Git-Tag: 1.31.0-rc.0~27434 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=b661ea584be8efc85ce83e5a175d8d347fea2a81;p=lhc%2Fweb%2Fwiklou.git Followup r94465; Don't use empty. --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 227fa7c0cb..83cd5fd12f 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -674,7 +674,7 @@ class Sanitizer { unset( $attribs[$attribute] ); } - if ( !empty($style) ) { + if ( $style ) { // Prepend our style rules so that they can be overridden by user css if ( isset($attribs['style']) ) { $style .= " " . $attribs['style'];