Add strict compare

This commit is contained in:
Fredrik Sundin 2020-08-19 22:48:12 +00:00
parent 291b508143
commit 22cbd84f3c
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]) ) {
if ( isset($SI_KEYS[$v]) && $SI_KEYS[$v] === $v ) {
$cv = $SI_KEYS[$v];
}