From: hickert Date: Mon, 14 Apr 2008 07:18:23 +0000 (+0000) Subject: Updated SQL statement WHERE creation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6b3629890a2e0aa5da91f451d5f11a54bb504a3d;p=gosa.git 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 --- 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 ) {