fixes Bug #27543 - “Warning: in_array() [function.in-array]: Wrong datatype for secon...
authorMark A. Hershberger <mah@users.mediawiki.org>
Mon, 1 Aug 2011 15:50:49 +0000 (15:50 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Mon, 1 Aug 2011 15:50:49 +0000 (15:50 +0000)
commitcb2105b6a1549fdccfc80ad9161d0ab074f11c57
tree1c699df30ff48e4d93e7962ecdd49789518203b9
parente201e2307d25493742966b593b173831ac8b88a0
fixes Bug #27543 - “Warning: in_array() [function.in-array]: Wrong datatype for second argument in ParserOptions.php”

AFAICT, result of ParserOutput::getUsedOptions() is only used by ParserOptions::optionsHash() but that method doesn't account for a non-array value.

Patch supplied on bug.
includes/parser/ParserOutput.php