diff --git a/MathTexvc.php b/MathTexvc.php index 89eb94d..f958b81 100644 --- a/MathTexvc.php +++ b/MathTexvc.php @@ -193,7 +193,11 @@ class MathTexvc extends MathRenderer { } if ( !$errmsg ) { - $this->setHash( substr( $contents, 1, 32 ) ); + $newHash = substr( $contents, 1, 32 ); + if ( $this->hash !== $newHash ) { + $this->recall = false; // DB needs update in writeCache() (bug 60997) + } + $this->setHash( $newHash ); } wfRunHooks( 'MathAfterTexvc', array( &$this, &$errmsg ) );