Fix issue with all languages being set to "markup"

Este commit está contenido en:
Shaun Forsyth 2016-11-22 10:21:49 +00:00
padre 03dbc1f963
commit 3804f9711a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados

Ver fichero

@ -24,7 +24,7 @@ if ( ! defined( 'MEDIAWIKI' ) )
public static function parserHook($text, $args = array(), $parser) {
$code_classes = '';
$pre_args ='';
if(!isset($args['lang']) || !isset($args['language']))
if(!isset($args['lang']) && !isset($args['language']))
$args['lang'] = 'markup';
foreach( $args as $key => $value ){
switch ($key) {