Re: Re: Re: Re: Beta1 Shipping Bug

Posts: 25
Joined: 01/11/2008

I may be onto a solution here, or maybe just a wild goose chase. I don't understand the code I'm looking at:

(from uc_shipping.module)
/**
* Implementation of hook_shipping_menu().
*/
function uc_shipping_menu($may_cache){

  $items = array();
 
  if (!$may_cache){
    if (is_numeric(arg(3))){

What is arg(3)? It doesn't return any value--other than ""--Nor does arg(5), both of which are found throughout this one function.

Beta1 Shipping Bug By: barliesque (42 replies) Sun, 01/13/2008 - 22:58