summaryrefslogtreecommitdiff
path: root/extensions/ParserFunctions/testExpr.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ParserFunctions/testExpr.php')
-rw-r--r--extensions/ParserFunctions/testExpr.php2
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;