[development] So confused about arg(...)

Jamie Holly hovercrafter at earthlink.net
Thu Jan 14 23:51:16 UTC 2010

I just tried the code you gave and it works fine on my test site. arg() 
is a very simple function, so as long as you aren't accidentally sending 
in a second argument it should work fine.

Jamie Holly

On 1/14/2010 11:49 AM, Nancy Wichmann wrote:
> Jamie Holly wrote:
> > setting the status message won't show up on the current page
> Yes, I figured that out, but even if I refresh the page, the message 
> is still screwy. Further more, right after this is "switch arg(0)" and 
> it is trying to find a "case 'r'" rather than "taxonomy."
> Khalid Baheyeldin wrote:
> > calling the same function with the same argument twice in a row is 
> wasteful
> I agree, and I originally saved it to a variable, but changed it back 
> when this weird stuff started happening.
> Nancy E. Wichmann, PMP
> Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. 
> King, Jr.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100114/1536572e/attachment.html 

More information about the development mailing list