Tpt has uploaded a new change for review. https://gerrit.wikimedia.org/r/94331
Change subject: (bug 56669) fix failure when $links = array() and $params = null ...................................................................... (bug 56669) fix failure when $links = array() and $params = null Change-Id: I5975d193f192ca0746c30ce998a29206412b403b --- M ProofreadPage.body.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage refs/changes/31/94331/1 diff --git a/ProofreadPage.body.php b/ProofreadPage.body.php index 9d985c6..ce48fc4 100644 --- a/ProofreadPage.body.php +++ b/ProofreadPage.body.php @@ -609,7 +609,7 @@ if( $from || $to || $include ) { $pages = array(); - if( empty( $links ) ) { + if( $links === null ) { $from = ( $from === null ) ? null : $wgContLang->parseFormattedNumber( $from ); $to = ( $to === null ) ? null : $wgContLang->parseFormattedNumber( $to ); $step = ( $step === null ) ? null : $wgContLang->parseFormattedNumber( $step ); -- To view, visit https://gerrit.wikimedia.org/r/94331 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5975d193f192ca0746c30ce998a29206412b403b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: master Gerrit-Owner: Tpt <thoma...@hotmail.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits