Skip to content

Commit

Permalink
Remove remaining alias usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Hlavtox authored Dec 30, 2023
1 parent 499fc04 commit 0061498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProductCommentCriterion.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static function getByProduct($id_product, $id_lang)
LEFT JOIN `' . _DB_PREFIX_ . 'product_comment_criterion_category` pccc
ON (pcc.`id_product_comment_criterion` = pccc.`id_product_comment_criterion`)
LEFT JOIN `' . _DB_PREFIX_ . 'product_shop` ps
ON (' . $alias . '.id_category_default = pccc.id_category AND ' . $alias . '.id_product = ' . $id_product . ')
ON (ps.id_category_default = pccc.id_category AND ps.id_product = ' . $id_product . ')
WHERE pccl.`id_lang` = ' . $id_lang . '
AND (
pccp.id_product IS NOT NULL
Expand Down

0 comments on commit 0061498

Please sign in to comment.