You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I find a bug in Block/Customer/PrivacyPopup.php file.
the function
protected function _toHtml()
{
if (
!$this->privacyHelper->isModuleEnabled() &&
!$this->privacyHelper->isPopupNotificationEnabled()
) {
return '';
}
return parent::_toHtml();
}
I think it should look like this:
protected function _toHtml()
{
if (
!$this->privacyHelper->isModuleEnabled() ||
!$this->privacyHelper->isPopupNotificationEnabled()
) {
return '';
}
return parent::_toHtml();
}
because when if clausule looks like this !$this->privacyHelper->isModuleEnabled() && !$this->privacyHelper->isPopupNotificationEnabled() then popup display when is not enable in settings.
The text was updated successfully, but these errors were encountered:
Hi. I find a bug in
Block/Customer/PrivacyPopup.php
file.the function
I think it should look like this:
because when
if
clausule looks like this!$this->privacyHelper->isModuleEnabled() && !$this->privacyHelper->isPopupNotificationEnabled()
then popup display when is not enable in settings.The text was updated successfully, but these errors were encountered: