From e69f87a9f2cd729291ae28ffcd04ebb942ef31b9 Mon Sep 17 00:00:00 2001 From: Thomas Heck Date: Mon, 8 Jul 2013 09:01:26 +0200 Subject: [PATCH] Rose-DB-Query gefixt --- SL/DB/CustomVariable.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1