Skip to content

Commit 14165c1

Browse files
committed
Merge remote-tracking branch '36177/patch-1' into comm_voted
2 parents c649e28 + 3a90950 commit 14165c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Customer/view/frontend/web/js/customer-data.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ define([
262262

263263
// process sections that can expire due to storage information inconsistency
264264
_.each(cookieSectionTimestamps, function (cookieSectionTimestamp, sectionName) {
265-
sectionData = storage.get(sectionName);
265+
if (storage !== undefined) {
266+
sectionData = storage.get(sectionName);
267+
}
266268

267269
if (typeof sectionData === 'undefined' ||
268270
typeof sectionData === 'object' &&

0 commit comments

Comments
 (0)