http://www.mediawiki.org/wiki/Special:Code/MediaWiki/98051
Revision: 98051
Author: dantman
Date: 2011-09-25 02:24:47 +0000 (Sun, 25 Sep 2011)
Log Message:
-----------
Followup r94465; Don't use empty.
Modified Paths:
--------------
trunk/phase3/includes/Sanitizer.php
Modified: trunk/phase3/includes/Sanitizer.php
===================================================================
--- trunk/phase3/includes/Sanitizer.php 2011-09-25 02:21:37 UTC (rev 98050)
+++ trunk/phase3/includes/Sanitizer.php 2011-09-25 02:24:47 UTC (rev 98051)
@@ -674,7 +674,7 @@
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'];
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs