From 6b3629890a2e0aa5da91f451d5f11a54bb504a3d Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 14 Apr 2008 07:18:23 +0000 Subject: [PATCH] Updated SQL statement WHERE creation -Added brackets to clause statements git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10377 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/GosaSupportDaemon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/modules/GosaSupportDaemon.pm b/gosa-si/modules/GosaSupportDaemon.pm index bd929597b..0560933c1 100644 --- a/gosa-si/modules/GosaSupportDaemon.pm +++ b/gosa-si/modules/GosaSupportDaemon.pm @@ -267,7 +267,7 @@ sub get_where_statement { push(@phrase_l, "$tag$operator'$val'"); } my $clause_str .= join(" $connector ", @phrase_l); - push(@clause_l, $clause_str); + push(@clause_l, "($clause_str)"); } if( not 0 == @clause_l ) { -- 2.30.2