Changed from this:
Code: Select all
if ( $filter_terms{$op_name} eq '=~' )
{
$filter_sql .= " regexp $value";
}
elsif ( $filter_terms{$op_name} eq '!~' )
{
$filter_sql .= " not regexp $value";
Code: Select all
if ( $filter_terms{$op_name} eq '=~' )
{
$filter_sql .= " regexp '$value'";
}
elsif ( $filter_terms{$op_name} eq '!~' )
{
$filter_sql .= " not regexp '$value'";