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:
d6d9343
)
Rose-DB-Query gefixt
author
Thomas Heck
<theck@linet-services.de>
Mon, 8 Jul 2013 07:01:26 +0000
(09:01 +0200)
committer
Thomas Heck
<theck@linet-services.de>
Tue, 16 Jul 2013 12:23:56 +0000
(14:23 +0200)
SL/DB/CustomVariable.pm
patch
|
blob
|
history
diff --git
a/SL/DB/CustomVariable.pm
b/SL/DB/CustomVariable.pm
index
edc595c
..
60955e4
100644
(file)
--- a/
SL/DB/CustomVariable.pm
+++ b/
SL/DB/CustomVariable.pm
@@
-37,7
+37,8
@@
sub is_valid {
require SL::DB::CustomVariableValidity;
- return SL::DB::Manager::CustomVariableValidity->get_all_count(config_id => $self->config_id, trans_id => $self->trans_id) == 0;
+ my $query = [config_id => $self->config_id, trans_id => $self->trans_id];
+ return SL::DB::Manager::CustomVariableValidity->get_all_count(query => $query) == 0;
}
1;