projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 6253 followup: explicitly check ref value for ARRAY before casting
[koha.git]
/
C4
/
SQLHelper.pm
diff --git
a/C4/SQLHelper.pm
b/C4/SQLHelper.pm
index
720dc99
..
285f7d2
100644
(file)
--- a/
C4/SQLHelper.pm
+++ b/
C4/SQLHelper.pm
@@
-415,7
+415,7
@@
sub _Process_Operands{
my @tmpkeys;
my @localkeys;
- $operand = [$operand] unless ref $operand;
+ $operand = [$operand] unless ref $operand
eq 'ARRAY'
;
foreach (@$operand) {
push @tmpkeys, " $field = ? ";
push @values, $_;