Code

Updated SQL statement WHERE creation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 07:18:23 +0000 (07:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 14 Apr 2008 07:18:23 +0000 (07:18 +0000)
-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

index bd929597b7acecbb7ce65041bd66f59bb840d389..0560933c190b087e269d36bba002a161b5164c69 100644 (file)
@@ -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 ) {