Skip to content

Commit

Permalink
fix indents
Browse files Browse the repository at this point in the history
  • Loading branch information
lmeyer1 committed Nov 4, 2022
1 parent ce7a202 commit 2303341
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion MailAlert.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static function deleteAlert($id_customer, $customer_email, $id_product, $
$sql = '
UPDATE `' . _DB_PREFIX_ . self::$definition['table'] . '` set `deleted` = 1 ' .
($notification_sent ? ', `notification_sent` = NOW()' : '') .
' WHERE ' . (($id_customer > 0) ? '(`customer_email` = \'' . pSQL($customer_email) . '\' OR `id_customer` = ' . (int) $id_customer . ')' :
' WHERE ' . (($id_customer > 0) ? '(`customer_email` = \'' . pSQL($customer_email) . '\' OR `id_customer` = ' . (int) $id_customer . ')' :
'`customer_email` = \'' . pSQL($customer_email) . '\'') .
' AND `id_product` = ' . (int) $id_product . '
AND `id_product_attribute` = ' . (int) $id_product_attribute . '
Expand Down
1 change: 0 additions & 1 deletion upgrade/upgrade-2.3.4.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/

function upgrade_module_2_3_4()
{
$result = true;
Expand Down

0 comments on commit 2303341

Please sign in to comment.