Fix empty shared string bug
Replaced !$sharedString by $sharedString === null to avoid the case when $sharedString = ''
This commit is contained in:
1 parent
f770f38967
commit
3e5ef284a5
3 files changed
+14
-1
No files matched your search
@@ -257,7 +257,7 @@ class SharedStringsHelper
|
||||
$sharedString = $this->unescapeLineFeed($escapedSharedString);
|
||||
}
|
||||
|
||||
if (!$sharedString) {
|
||||
if ($sharedString === null) {
|
||||
throw new SharedStringNotFoundException("Shared string not found for index: $sharedStringIndex");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user