Installed this hack on v2.3.0 and it gave me a parse error.
This hack:
// user id search hack
if (($auserid!="") AND (!$auserid))){
echo "Invalid user ID, please go back and try again.";
exit;
}
if ($auserid!="") {
$condition.=" AND user.userid=$auserid";
}
// end user id search hack
To get it to work, I had to remove this part:
if (($auserid!="") AND (!$auserid))){
echo "Invalid user ID, please go back and try again.";
exit;
}
Short of that, seems to work fine. Thanks for the hack. Much needed!
|