Permalink
Browse files

Remove new products box completely if there are no new products avail…

…able for a category. Fixes issue #214
  • Loading branch information...
1 parent c67dfee commit 69b91aa48bfe19d5ab03190a6468113ba180e296 @markkevans markkevans committed with acidvertigo Aug 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 catalog/includes/modules/new_products.php
@@ -18,7 +18,7 @@
$num_new_products = tep_db_num_rows($new_products_query);
- if ($new_products_query > 0) {
+ if ($num_new_products > 0) {
$counter = 0;
$col = 0;

0 comments on commit 69b91aa

Please sign in to comment.