01tonythomas has uploaded a new change for review. https://gerrit.wikimedia.org/r/107017
Change subject: Chagned return value of self::urlFunction from array to string ...................................................................... Chagned return value of self::urlFunction from array to string PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in CoreParserFunctions.php on line 212 Experimental! Bug: 59881 Change-Id: I7ae092f89b9cfbbe91d1883c2182ca5907825ba4 --- M includes/parser/CoreParserFunctions.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/17/107017/1 diff --git a/includes/parser/CoreParserFunctions.php b/includes/parser/CoreParserFunctions.php index 250442c..bdd563a 100644 --- a/includes/parser/CoreParserFunctions.php +++ b/includes/parser/CoreParserFunctions.php @@ -249,7 +249,7 @@ } return $text; } else { - return array( 'found' => false ); + return false; } } -- To view, visit https://gerrit.wikimedia.org/r/107017 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7ae092f89b9cfbbe91d1883c2182ca5907825ba4 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: 01tonythomas <01tonytho...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits