fixed #9028: Thingy fails when setting values containing single quotes
This commit is contained in:
parent
b7b6f7e659
commit
70e6b8a03d
2 changed files with 3 additions and 2 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
- fixed #9025: Testing function of UsersOnline macro fails.
|
- fixed #9025: Testing function of UsersOnline macro fails.
|
||||||
- Brand new Survey system. Make sure to export your old results as they will
|
- Brand new Survey system. Make sure to export your old results as they will
|
||||||
not be imported, only the surveys themselves.
|
not be imported, only the surveys themselves.
|
||||||
|
- fixed #9028: Thingy fails when setting values containing single quotes
|
||||||
|
|
||||||
7.6.2
|
7.6.2
|
||||||
- fixed: not allowed to add calendar events if in can edit group but not can add event group
|
- fixed: not allowed to add calendar events if in can edit group but not can add event group
|
||||||
|
|
|
||||||
|
|
@ -3009,7 +3009,8 @@ sequenceNumber');
|
||||||
"searchFields_is".$fieldType => 1,
|
"searchFields_is".$fieldType => 1,
|
||||||
});
|
});
|
||||||
my $searchValue = $session->form->process("field_".$field->{fieldId});
|
my $searchValue = $session->form->process("field_".$field->{fieldId});
|
||||||
push(@constraints,$dbh->quote_identifier("field_".$field->{fieldId})." like '%".$searchValue."%'") if ($searchValue);
|
push @constraints, $dbh->quote_identifier("field_".$field->{fieldId}) . " LIKE "
|
||||||
|
. $dbh->quote('%'.$searchValue.'%') if ($searchValue);
|
||||||
}
|
}
|
||||||
if($field->{displayInSearch}){
|
if($field->{displayInSearch}){
|
||||||
my $orderByUrl = $self->session->url->append($currentUrl,"orderBy=".$field->{fieldId});
|
my $orderByUrl = $self->session->url->append($currentUrl,"orderBy=".$field->{fieldId});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue