This is starting to get on my nerves. In forumdisplay.php there's this line of code.
PHP Code:
globalize($_REQUEST , array('sortfield', 'sortorder' => STR_NOHTML));
Now if I understand what I've read this pulls the array sortfield and sort order out of the form in the forumdisplay template.
BUT THERE IS NO SORTFIELD OR SORTORDER ARRAY!!!!!!!!!!!
There is a sort array and an order array. Why, (how?) is globalize getting these values??
I'm trying to set up a new search technique for an extension database. I've successfully built the modules needed to enter new items, edit and display them. Now, at the last, I need to sort them. I need to perform sorts by up to two criteria (not one) in descending or ascending order, and allow a field search for term. That second part means I really need to use globalize to sanitize the incoming variable.
Any help would be appreciated - though I'm gonna continue plugging at this.