Fix call to MathMathMLCli::getError

var_export prints the result,
it needs a true argument to return a string

Change-Id: I3c1275daf465044f1e22548a70e775069a6e94b6
This commit is contained in:
Umherirrender 2019-05-31 20:31:51 +02:00
parent 33f9115e43
commit 6d4740fa4c
1 changed files with 1 additions and 1 deletions

View File

@ -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() ) {