/[drupal]/contributions/modules/ubercart/uc_cart/uc_cart.module
ViewVC logotype

Diff of /contributions/modules/ubercart/uc_cart/uc_cart.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.15.2.30, Tue Oct 20 20:58:07 2009 UTC revision 1.15.2.31, Mon Nov 2 22:04:08 2009 UTC
# Line 1674  function uc_cart_product_is_shippable($p Line 1674  function uc_cart_product_is_shippable($p
1674      return FALSE;      return FALSE;
1675    }    }
1676    
1677      $result = array();
1678    
1679    // See if any other modules have a say in the matter...    // See if any other modules have a say in the matter...
1680    foreach (module_list() as $module) {    foreach (module_list() as $module) {
1681      $func = $module .'_cart_item';      $func = $module .'_cart_item';
1682      if (function_exists($func) && $func('can_ship', $product)) {      if (function_exists($func)) {
1683        // $product must be passed by reference.        // $product must be passed by reference.
1684        $result[] = TRUE;        $return = $func('can_ship', $product);
1685    
1686          if (!is_null($return)) {
1687            $result[] = $return;
1688          }
1689      }      }
1690    }    }
1691    

Legend:
Removed from v.1.15.2.30  
changed lines
  Added in v.1.15.2.31

  ViewVC Help
Powered by ViewVC 1.1.2