Mwjames has uploaded a new change for review.

Change subject: Fix Special:Ask htmlspecialchars line 465
......................................................................

Fix Special:Ask htmlspecialchars line 465

Special:Ask returns with a message htmlspecialchars() expects
parameter 1 to be string, array given. This is caused by line 465 where
$param->getValue() (IParam) returns with an array and not with a string.

In case of param sorting, values are returned as array and not as string
which causes htmlspecialchars to go south.



Change-Id: Ibc94b1471bb52745924310afdc2c65c39a0b8ebe
---
M specials/AskSpecial/SMW_SpecialAsk.php
1 file changed, 9 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki 
refs/changes/15/16215/1
--
To view, visit https://gerrit.wikimedia.org/r/16215
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc94b1471bb52745924310afdc2c65c39a0b8ebe
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Mwjames <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to