Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop
This commit is contained in:
commit
3179a206a4
|
@ -313,10 +313,16 @@ function tactical_get_data ($id_user = false, $user_strict = false, $acltags, $r
|
||||||
else {
|
else {
|
||||||
|
|
||||||
if ($user_strict) {
|
if ($user_strict) {
|
||||||
|
if (empty($acltags)) {
|
||||||
|
$_tag_condition = '';
|
||||||
|
}
|
||||||
|
else {
|
||||||
$_tag_condition = 'AND ' . tags_get_acl_tags_module_condition($acltags,'tae');
|
$_tag_condition = 'AND ' . tags_get_acl_tags_module_condition($acltags,'tae');
|
||||||
}
|
}
|
||||||
else
|
}
|
||||||
|
else {
|
||||||
$_tag_condition = '';
|
$_tag_condition = '';
|
||||||
|
}
|
||||||
|
|
||||||
$result_list = db_get_all_rows_sql("SELECT COUNT(*) as contado, estado
|
$result_list = db_get_all_rows_sql("SELECT COUNT(*) as contado, estado
|
||||||
FROM tagente_estado tae INNER JOIN tagente ta
|
FROM tagente_estado tae INNER JOIN tagente ta
|
||||||
|
|
Loading…
Reference in New Issue