The Geek
08-27-2005, 12:34 PM
I suppose im doing this all wrong unless its a bug that hasnt popped up yet.
If I post an array like this:
<input type="text" name="box[1]" value="1" />
<input type="text" name="box[2]" value="2" />
And I try to catch and cleanse with:
$vbulletin->input->clean_array_gpc('p', array(
'stuff' => TYPE_STR,
'box' => TYPE_ARRAY_NUM,
);
I get:
Fatal error: Unsupported operand types in xxx\includes\class_core.php on line 1657
Is this a bug or am I doing this totally wrong? (BTW: This is only when there are values in the TYPE_ARRAY_NUM
Thanks! :)
erk. I think I posted this in the wrong forum :(
bad geek BADBADBADBAD
If I post an array like this:
<input type="text" name="box[1]" value="1" />
<input type="text" name="box[2]" value="2" />
And I try to catch and cleanse with:
$vbulletin->input->clean_array_gpc('p', array(
'stuff' => TYPE_STR,
'box' => TYPE_ARRAY_NUM,
);
I get:
Fatal error: Unsupported operand types in xxx\includes\class_core.php on line 1657
Is this a bug or am I doing this totally wrong? (BTW: This is only when there are values in the TYPE_ARRAY_NUM
Thanks! :)
erk. I think I posted this in the wrong forum :(
bad geek BADBADBADBAD