Showing
1 changed file
with
2 additions
and
2 deletions
@@ -493,7 +493,7 @@ class IndexController extends AbstractAction | @@ -493,7 +493,7 @@ class IndexController extends AbstractAction | ||
493 | $shopId = $this->get('shop_id', 0); | 493 | $shopId = $this->get('shop_id', 0); |
494 | $uid = $this->getUid(); | 494 | $uid = $this->getUid(); |
495 | do { | 495 | do { |
496 | - if (!IS_AJAX) { | 496 | + if (!$this->isAjax()) { |
497 | break; | 497 | break; |
498 | } | 498 | } |
499 | if (!empty($shopId) && !empty($uid)) { | 499 | if (!empty($shopId) && !empty($uid)) { |
@@ -514,7 +514,7 @@ class IndexController extends AbstractAction | @@ -514,7 +514,7 @@ class IndexController extends AbstractAction | ||
514 | $shopId = $this->get('shop_id', 0); | 514 | $shopId = $this->get('shop_id', 0); |
515 | $uid = $this->getUid(); | 515 | $uid = $this->getUid(); |
516 | do { | 516 | do { |
517 | - if (!IS_AJAX) { | 517 | + if (!$this->isAjax()) { |
518 | break; | 518 | break; |
519 | } | 519 | } |
520 | if (!empty($shopId) && !empty($uid)) { | 520 | if (!empty($shopId) && !empty($uid)) { |
-
Please register or login to post a comment