Author: fourat
Description:
Got this warning:
<b>
Warning
</b>
: in_array() [
<a href="function.in-array">
function.in-array
</a>
]: Wrong datatype for second argument in
<b>
/var/www/TriKi/includes/Title.php
</b>
on line
<b>
1306
</b>
Steps to reproduce:
Created new groups in LocalSettings.php, and tryed to affect a User one of the new available groups.
A temporary (?) correction i can make is:
1306c1306
< if( ( is_array($wgWhitelistRead) ) && ( in_array( $pure, $wgWhitelistRead, true ) ) )
> if( in_array( $pure, $wgWhitelistRead, true ) )
Version: 1.11.x
Severity: normal
OS: Linux
Platform: PC