mirror of
https://github.com/shuchkin/simplexlsxgen.git
synced 2023-08-10 21:12:59 +03:00
Add strict compare
This commit is contained in:
parent
291b508143
commit
22cbd84f3c
@ -214,7 +214,7 @@ class SimpleXLSXGen {
|
|||||||
$ct = 's'; // shared string
|
$ct = 's'; // shared string
|
||||||
$v = str_replace(['&','<','>'],['&','<','>'], $v);
|
$v = str_replace(['&','<','>'],['&','<','>'], $v);
|
||||||
$cv = false;
|
$cv = false;
|
||||||
if ( isset($SI_KEYS[$v]) ) {
|
if ( isset($SI_KEYS[$v]) && $SI_KEYS[$v] === $v ) {
|
||||||
$cv = $SI_KEYS[$v];
|
$cv = $SI_KEYS[$v];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user