Fixed progragate acl tags, children not get tags to father, Tickets #1939

This commit is contained in:
m-lopez-f 2015-03-12 10:55:06 +01:00
parent d673737e2d
commit 8096cbfa19
1 changed files with 1 additions and 1 deletions

View File

@ -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);