Adding the following little ditty after the code that checks the day in
UPDATE_COUPON in ft 1.3 fixes coupons with dates.  Seems as though the same
problem exists in 1.4.  Can't figure out why not putting a number in display
precedence on the edit_coupon screen breaks the update query.  The only
thing I can figure is that php is giving "" the wrong data type and mysql is
expecting an integer.  Would be interested to understand that one.....

  if($StartMonth < 10)
  {
   $StartMonth = "0" . $StartMonth;
  }
  if($EndMonth < 10)
  {
   $EndMonth = "0" . $EndMonth;
  }



_______________________________________________
FreeTrade-dev mailing list
[EMAIL PROTECTED]
http://share.whichever.com/mailman/listinfo/freetrade-dev

Reply via email to