mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Fixed progragate acl tags, children not get tags to father, Tickets #1939
This commit is contained in:
parent
d673737e2d
commit
8096cbfa19
@ -2113,7 +2113,7 @@ function __add_acltags (&$acltags, $group_id, $tags_str) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Propagation
|
// Propagation
|
||||||
$propagate = (bool) db_get_value('propagate', 'tgrupo', 'id_grupo', $group_tag['id_grupo']);
|
$propagate = (bool) db_get_value('propagate', 'tgrupo', 'id_grupo', $group_id);
|
||||||
if ($propagate) {
|
if ($propagate) {
|
||||||
$sql = "SELECT id_grupo FROM tgrupo WHERE parent = $group_id";
|
$sql = "SELECT id_grupo FROM tgrupo WHERE parent = $group_id";
|
||||||
$children = db_get_all_rows_sql($sql);
|
$children = db_get_all_rows_sql($sql);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user