diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-04-26 18:23:31 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-04-26 18:23:31 +0200 |
commit | c4372dd38a4d109b4f3881ea63b667e33adbe503 (patch) | |
tree | e8e6dae1229a68c26b7a348c73dc0c8c77da97e5 /extensions/ParserFunctions/testExpr.php | |
parent | cf566324cfb218f0c7323d97d2a103bbb8d60ba4 (diff) |
Update to MediaWiki 1.18.3
Diffstat (limited to 'extensions/ParserFunctions/testExpr.php')
-rw-r--r-- | extensions/ParserFunctions/testExpr.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ParserFunctions/testExpr.php b/extensions/ParserFunctions/testExpr.php index 4a941737..b3336c53 100644 --- a/extensions/ParserFunctions/testExpr.php +++ b/extensions/ParserFunctions/testExpr.php @@ -13,7 +13,7 @@ $pass = $fail = 0; $parser = new ExprParser; foreach ( $tests as $test ) { $test = trim( $test ); - if ( in_string( ';', $test ) ) + if ( strpos( $test, ';' ) !== false ) list( $input, $expected ) = explode( ';', $test ); else { $input = $test; |