Re: Re: Re: Re: Alpha 7e Released

Posts: 4727
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Yeah, the problem is his use of the old order status system. A simple fix would be to change this:

<?php
 
if ($status == uc_get_order_status_id('post_payment'))
  {
?>

To this:

<?php
 
if (uc_order_status_data($status, 'state') == 'completed') {
?>

That should handle completed orders the same.

Alpha 7e Released By: Ryan (29 replies) Thu, 10/04/2007 - 11:14