Skip to content

Commit

Permalink
Merge pull request #5019 from Newman101/logical_operator_2
Browse files Browse the repository at this point in the history
[*] BO : Replaced one more logical operator
  • Loading branch information
djfm committed Feb 16, 2016
2 parents 85c73ee + 4a6aaf2 commit 2fb35bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin-dev/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
require(_PS_CONTROLLER_DIR_.'admin/AdminReferrersController.php');
}

if (Tools::getValue('page') == 'prestastore' and @fsockopen('addons.prestashop.com', 80, $errno, $errst, 3)) {
if (Tools::getValue('page') == 'prestastore' && @fsockopen('addons.prestashop.com', 80, $errno, $errst, 3)) {
readfile('http://addons.prestashop.com/adminmodules.php?lang='.$context->language->iso_code);
}

Expand Down

0 comments on commit 2fb35bb

Please sign in to comment.