PHP Classes

DB Cart Class

Recommend this page to a friend!

      DB Cart Class  >  All threads  >  DB Cart Class  >  (Un) Subscribe thread alerts  
Subject:DB Cart Class
Summary:sprintf error - fixed
Messages:1
Author:Jon Slack
Date:2007-05-07 11:33:32
 

  1. DB Cart Class   Reply   Report abuse  
Picture of Jon Slack Jon Slack - 2007-05-07 11:33:32
In db_cart_class.php, on lines 90 & 92, the $customer variable is missing from the sprintf lines. It should be inserted in both lines to change them from:
"... ORDERS, VALID_UNTIL * 86400);"
to:
"... ORDERS, $customer, VALID_UNTIL * 86400);"