Skip to content

Commit

Permalink
Use Parser::getOptions() instead of Parser::$mOptions (#828)
Browse files Browse the repository at this point in the history
  • Loading branch information
cscott committed Apr 12, 2024
1 parent 6dd7e46 commit bb47b8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formats/array/SRF_Array.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ protected function getCfgSepText( $obj ) {
*/
// can't use $this->mInline here since SMW 1.6.2 had a bug setting it to false in most cases!
$parser = MediaWikiServices::getInstance()->getParser();
if ( !isset( $parser->mOptions ) ) {
if ( $parser->getOptions() === null ) {
// if( ! $this->mInline ) {
return null;
}
Expand Down

0 comments on commit bb47b8f

Please sign in to comment.