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
http://www.intoxination.net
http://www.hollyit.net
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.