Skip to content

Commit c4023e2

Browse files
committed
Merge branch '4.90-bug-fixes' into develop
2 parents 6690428 + ea7a7be commit c4023e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Presentation/Nop.Web.Framework/Mvc/Filters/SaveLastContinueShoppingPageAttribute.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ await _genericAttributeService.SaveAttributeAsync(await _workContext.GetCurrentC
6262
NopCustomerDefaults.LastContinueShoppingPageAttribute,
6363
_webHelper.GetThisPageUrl(false),
6464
store.Id);
65+
66+
if (context.Result == null)
67+
await next();
6568
}
6669

6770
#endregion

0 commit comments

Comments
 (0)