$where.=" and (label_action ilike '".$func->protect_string_db($what,$_SESSION['config']['databasetype'])."%' or id ilike '".$func->protect_string_db($what,$_SESSION['config']['databasetype'])."%' ) ";
}
else
{
$where.=" and (label_action like '".$func->protect_string_db($what,$_SESSION['config']['databasetype'])."%' or id like '".$func->protect_string_db($what,$_SESSION['config']['databasetype'])."%' ) ";