From 6d4740fa4c24e65a3ee4c8376252ed6de8f3fcea Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Fri, 31 May 2019 20:31:51 +0200 Subject: [PATCH] Fix call to MathMathMLCli::getError var_export prints the result, it needs a true argument to return a string Change-Id: I3c1275daf465044f1e22548a70e775069a6e94b6 --- src/MathMathMLCli.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MathMathMLCli.php b/src/MathMathMLCli.php index ec56a1a..cdaa0c2 100644 --- a/src/MathMathMLCli.php +++ b/src/MathMathMLCli.php @@ -52,7 +52,7 @@ class MathMathMLCli extends MathMathML { if ( !property_exists( $res, $this->getMd5() ) ) { $this->lastError = $this->getError( 'math_mathoid_error', 'cli', - var_export( get_object_vars( $res ) ) ); + var_export( get_object_vars( $res ), true ) ); return false; } if ( $this->isEmpty() ) {