Fix: Undefined variable passed to hook

* This problem was introduced in
  I6fad69b5d9b9ca8a7d12c7e410d3ae6180fbddbf
* The $render variable is undefined in that context
* $this should be used instead

Change-Id: I70e0a03e41f0312a458d1dd27b766452ae093093
This commit is contained in:
physikerwelt 2015-07-16 10:33:34 -04:00
parent 3a55d1212c
commit b938099820
1 changed files with 2 additions and 2 deletions

View File

@ -483,8 +483,8 @@ class MathMathML extends MathRenderer {
$this->setMathml( $jsonResult->mml );
}
Hooks::run( 'MathRenderingResultRetrieved',
array( &$renderer,
&$jsonResult ) );// Enables debugging of server results
array( &$this,
&$jsonResult ) ); // Enables debugging of server results
return true;
} else {
$this->lastError = $this->getError( 'math_unknown_error', $host );