2012-12-03 Ramon Novoa <rnovoa@artica.es>

* include/functions_agents.php: Removed debugging code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2012-12-03 10:09:13 +00:00
parent 3117e6f205
commit 305db4a282
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php: Removed debugging code.
2012-12-03 Ramon Novoa <rnovoa@artica.es> 2012-12-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_agents.php, * include/functions_agents.php,

View File

@ -401,8 +401,6 @@ function agents_get_agents ($filter = false, $fields = false, $access = 'AR', $o
elseif (! is_array ($filter['id_grupo'])) { elseif (! is_array ($filter['id_grupo'])) {
$all_groups = false; $all_groups = false;
//If group is specified but not allowed, return false //If group is specified but not allowed, return false
echo "GROUP: " . $filter['id_grupo'] . ":";
print_r ($groups);
if (! in_array ($filter['id_grupo'], $groups)) { if (! in_array ($filter['id_grupo'], $groups)) {
return false; return false;
} }