debug log was attempting to show a Blob object
A wfDebugLog() was attempting to concatenate a string with a Blob object which does not support conversion to a string. Since that was used to show some hash, display the current string hash instead. Furthermore the input-hash, which can be calculated from the TeX input string was displayed, which is not very helpful. The variable hash is calculated by texvc and can be used to search for the rendered image in the filesystem. Change-Id: I9943fd51d3021bf2d62a29f33de0858803763f86
This commit is contained in:
parent
eaed42d8e4
commit
84d531cca0
|
@ -159,7 +159,7 @@ abstract class MathRenderer {
|
||||||
} else {
|
} else {
|
||||||
$outmd5_sql = '';
|
$outmd5_sql = '';
|
||||||
}
|
}
|
||||||
wfDebugLog( "Math", 'store entry for $' . $this->tex . '$ in database (hash:' . $this->getInputHash() . ')\n' );
|
wfDebugLog( "Math", 'store entry for $' . $this->tex . '$ in database (hash:' . $this->hash . ')\n' );
|
||||||
$dbw->replace(
|
$dbw->replace(
|
||||||
'math',
|
'math',
|
||||||
array( 'math_inputhash' ),
|
array( 'math_inputhash' ),
|
||||||
|
|
Loading…
Reference in New Issue