Eric Seigne - 2002-11-11

Hello everybody,
thanks for this very great project !

stats.php, near line 62 i read
                $item_name = $contents[product][$x];
but if product name is "... l'ordinateur ..." there is a SQL bug, so add a addslashes:
                $item_name = addslashes($contents[product][$x]);

Then, when i recieve mails i have not TOTAL ... this is a problem :)
there is a bug into mailer.inc.php file near line 60:
if ($user_pt == 1) {
  $express = $fpm_price + $fsm_price;
  $mail_text .= "$pay_20: ";
  echo frmtprice(array_sum($cart->cart_total($sess,$express)),$sess);

i think it's :

if ($user_pt == 1) {
  $express = $fpm_price + $fsm_price;
  $mail_text .= "$pay_20: " . frmtprice(array_sum($cart->cart_total($sess,$express)),$sess);

Thats all for today, i could post a patch or a bug information, but andreas said "goto and post to this forum" ... so i post here !

Amicalement,
ric