From: Thomas Heck Date: Mon, 8 Jul 2013 07:01:26 +0000 (+0200) Subject: Rose-DB-Query gefixt X-Git-Tag: release-3.1.0beta1~161^2~22 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3095ec072c88b801eddd331c9f1af27fd46bd2a2;p=kivitendo-erp.git Rose-DB-Query gefixt --- diff --git a/SL/DB/CustomVariable.pm b/SL/DB/CustomVariable.pm index edc595ce4..60955e40f 100644 --- 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;