// Revert normalization

This commit is contained in:
rMalie
2011-08-11 10:20:59 +00:00
parent accec09c98
commit 2bb147128b
48 changed files with 77 additions and 77 deletions
@@ -34,7 +34,7 @@ if (empty($_GET['id_lang']) === false &&
isset($_GET['id_product']) === true)
{
$criterions = ProductCommentCriterion::get($_GET['id_lang']);
if ($_GET['id_product'])
if ((int)($_GET['id_product']))
$selects = ProductCommentCriterion::getByProduct($_GET['id_product'], $_GET['id_lang']);
echo '<select name="id_product_comment_criterion[]" id="id_product_comment_criterion" multiple="true" style="height:100px;width:360px;">';
foreach ($criterions as $criterion)