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:
69e7991
)
Rose-DB-Query gefixt
author
Thomas Heck
<theck@linet-services.de>
Mon, 8 Jul 2013 07:01:26 +0000
(09:01 +0200)
committer
Jan Büren
<jan@kivitendo-premium.de>
Thu, 18 Jul 2013 07:09:03 +0000
(09:09 +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;