Fix strict compare bug

This commit is contained in:
Fredrik Sundin 2020-08-19 23:09:33 +00:00
parent 22cbd84f3c
commit c3d64d13ef
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class SimpleXLSXGen {
$ct = 's'; // shared string
$v = str_replace(['&','<','>'],['&amp;','&lt;','&gt;'], $v);
$cv = false;
if ( isset($SI_KEYS[$v]) && $SI_KEYS[$v] === $v ) {
if ( isset($SI_KEYS[$v]) && $SI[$SI_KEYS[$v]] === $v ) {
$cv = $SI_KEYS[$v];
}