Code

bugfix: accept more complex where-statements too
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Mar 2008 14:00:46 +0000 (14:00 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Mar 2008 14:00:46 +0000 (14:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9242 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/GosaSupportDaemon.pm

index 5e6baca9ed67b0099b07490e5cb61513180b29b9..3e6551f12f9317b9ce483a0e1a6b46f3e514d7b0 100644 (file)
@@ -269,7 +269,7 @@ sub get_where_statement {
 
         if( not 0 == @clause_l ) {
             $clause_str = join(" AND ", @clause_l);
-            $clause_str = "WHERE $clause_str ";
+            $clause_str = "WHERE ($clause_str) ";
         }
     }