Fixed an error on the function 'tags_get_user_module_and_tags' caused by a string=integer comparision

This commit is contained in:
Alejandro Gallardo Escobar 2015-03-26 22:28:18 +01:00
parent 12013f8263
commit 3d84b80c52
1 changed files with 1 additions and 1 deletions

View File

@ -2242,7 +2242,7 @@ function tags_get_user_module_and_tags ($id_user = false, $access = 'AR', $stric
$tags_and_groups_aux = array();
foreach ($tags_and_groups as $data) {
// All group
if ($data['id_grupo'] === 0) {
if ((int)$data['id_grupo'] === 0) {
// All group with empty tags. All groups without tags permission!
if (empty($data['tags'])) {
foreach ($all_group_ids as $group_id) {