mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Merge branch 'ent-6666-error-extensino-mainframe' into 'develop'
fixed sql error with secundary groups ZOS See merge request artica/pandorafms!3607
This commit is contained in:
commit
1a99dfa517
@ -900,7 +900,11 @@ function tags_get_acl_tags_module_condition($acltags, $modules_table='', $force_
|
|||||||
}
|
}
|
||||||
|
|
||||||
$in_group = implode(',', $without_tags);
|
$in_group = implode(',', $without_tags);
|
||||||
|
if ($has_secondary) {
|
||||||
$condition .= sprintf('(tagente.id_grupo IN (%s) OR tasg.id_group IN (%s))', $in_group, $in_group);
|
$condition .= sprintf('(tagente.id_grupo IN (%s) OR tasg.id_group IN (%s))', $in_group, $in_group);
|
||||||
|
} else {
|
||||||
|
$condition .= sprintf('(tagente.id_grupo IN (%s))', $in_group);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$condition = !empty($condition) ? "($condition)" : '';
|
$condition = !empty($condition) ? "($condition)" : '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user