Jump to content



Latest News: (loading..)

Issue Information

  • #000162

  • 2 - Fair

  • Duplicate

  • 2.3.1

  • 2.3.3

Issue Confirmations

  • Yes (0)No (0)
Photo

error in product page for reviews's button

Posted by foxp2 on 03 December 2010 - 01:35 AM

replace line 189 :
$reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and reviews_status = 1");

with :
$reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd where r.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and r.reviews_id = rd.reviews_id and rd.languages_id = '" . (int)$languages_id . "' and reviews_status = 1");

Updating severity to: 2 - Fair
Updating status to: Confirmed

Updating status to: Fixed
Issue fixed in: 2.3.2

changed status to: Duplicate
changed fixed-in version to: 2.3.3