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
|
||||
$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) {
|
||||
$sql = "SELECT id_grupo FROM tgrupo WHERE parent = $group_id";
|
||||
$children = db_get_all_rows_sql($sql);
|
||||
|
|
Loading…
Reference in New Issue