Index: oscommerce2/trunk/catalog/account_notifications.php =================================================================== diff -u -r477 -r1739 --- oscommerce2/trunk/catalog/account_notifications.php (.../account_notifications.php) (revision 477) +++ oscommerce2/trunk/catalog/account_notifications.php (.../account_notifications.php) (revision 1739) @@ -1,6 +1,6 @@ 0) { $products_parsed = array(); - for ($i=0, $n=sizeof($products); $i<$n; $i++) { - if (is_numeric($products[$i])) { - $products_parsed[] = $products[$i]; + reset($products); + while (list(, $value) = each($products)) { + if (is_numeric($value)) { + $products_parsed[] = $value; } }