hi people,
what the hell is wrong with this code ?
PHP Code:
if($_GET['act'] == "completeremove")
{
$vbulletin->input->clean_array_gpc('g', array(
'id' => TYPE_INT,
'userid' => TYPE_INT,
'uname' => TYPE_STR,
'wname' => TYPE_STR,
'postid' => TYPE_INT,
'ban' => TYPE_STR,
'orderstring' => TYPE_STR,
));
}
problem
$vbullein->GPC['ban'] (doesn't work)
$_GET['ban'] (works but that's against the
coding standards)
it's an $_GET so the first parameter should be g (short from get).The strange thing is that the same code works fine in another method(yes the verry same code)
why ohhh why :devious: