Index: uc_order/uc_order.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/ubercart/uc_order/uc_order.module,v retrieving revision 1.12.2.38 diff -u -p -r1.12.2.38 uc_order.module --- uc_order/uc_order.module 18 Mar 2010 03:09:41 -0000 1.12.2.38 +++ uc_order/uc_order.module 16 Jun 2010 03:31:57 -0000 @@ -1283,12 +1283,8 @@ function uc_order_update_status($order_i foreach (module_list() as $module) { $function = $module .'_order'; // $order must be passed by reference. - if (function_exists($function) && ($return = $function('can_update', $order, $status))){ - for ($i = 0; $i < count($return); $i++) { - if ($return[$i] === FALSE) { - return FALSE; - } - } + if (function_exists($function) && $function('can_update', $order, $status) === FALSE) { + return FALSE; } }