summaryrefslogtreecommitdiffstats
path: root/frontends/php/scripts.php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php/scripts.php')
-rw-r--r--frontends/php/scripts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/scripts.php b/frontends/php/scripts.php
index 9aecb665..0c3175b8 100644
--- a/frontends/php/scripts.php
+++ b/frontends/php/scripts.php
@@ -175,7 +175,7 @@ if(isset($_REQUEST['form'])){
$sql = 'SELECT DISTINCT g.name, g.groupid '.
' FROM groups g '.
- ' WHERE g.groupid IN ('.$available_groups.') '.
+ ' WHERE '.DBcondition('g.groupid',$available_groups).
' ORDER BY g.name';
$grp_result = DBselect($sql);