Index: trunk/phase3/includes/Preferences.php |
— | — | @@ -1117,7 +1117,7 @@ |
1118 | 1118 | |
1119 | 1119 | static function cleanSignature( $signature, $alldata ) { |
1120 | 1120 | global $wgParser; |
1121 | | - if ( $alldata['fancysig'] ) { |
| 1121 | + if ( !empty( $alldata['fancysig'] ) ) { |
1122 | 1122 | $signature = $wgParser->cleanSig( $signature ); |
1123 | 1123 | } else { |
1124 | 1124 | // When no fancy sig used, make sure ~{3,5} get removed. |