projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8133a8
)
Autocompletion gegen Injection abgesichert.
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 9 Dec 2009 11:46:45 +0000
(12:46 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 9 Dec 2009 11:47:00 +0000
(12:47 +0100)
bin/mozilla/ic.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/ic.pl
b/bin/mozilla/ic.pl
index
346f7ad
..
9b5b20a
100644
(file)
--- a/
bin/mozilla/ic.pl
+++ b/
bin/mozilla/ic.pl
@@
-2016,7
+2016,7
@@
sub ajax_autocomplete {
my $form = $main::form;
my %myconfig = %main::myconfig;
- $form->{column}
||= 'description'
;
+ $form->{column}
= 'description' unless $form->{column} =~ /^partnumber|description$/
;
$form->{$form->{column}} = $form->{q} || '';
$form->{limit} = ($form->{limit} * 1) || 10;
$form->{searchitems} ||= '';