Skip to content

Commit

Permalink
Merge pull request #278 from adrianalin89/patch-1
Browse files Browse the repository at this point in the history
Replace deprecated Zend_Json with json_encode
  • Loading branch information
KhietNguyen83 authored Apr 12, 2023
2 parents 3429b1b + 6dc10cb commit d145776
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ use Mageplaza\SocialLogin\Model\System\Config\Source\Position;
<?php $authenConfig = $block->getSocialButtonsConfig(); ?>
<?php if ($block->canShow(Position::PAGE_AUTHEN) && sizeof($availableSocials)): ?>
<script>
window.socialAuthenticationPopup = <?= Zend_Json::encode($authenConfig); ?>;
window.socialAuthenticationPopup = <?= Laminas\Json\Json::encode($authenConfig); ?>;
</script>
<?php endif; ?>

0 comments on commit d145776

Please sign in to comment.