From 6e17803b18fe11685ed21393092820a5e792c984 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Tue, 4 Oct 2011 20:02:20 +0000 Subject: [PATCH] Followup r98578 - expect nulls --- includes/EditPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index d1c8ec5a8f..d12eb59414 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1851,7 +1851,7 @@ HTML global $wgOut, $wgUser; $wikitext = $this->safeUnicodeOutput( $content ); - if ( $wikitext !== '' ) { + if ( strval($wikitext) !== '' ) { // Ensure there's a newline at the end, otherwise adding lines // is awkward. // But don't add a newline if the ext is empty, or Firefox in XHTML -- 2.20.1