From 12fdb60ee419ae0bbcc76e6a773dc23aef1bc843 Mon Sep 17 00:00:00 2001 From: esanchezm Date: Mon, 23 Feb 2009 11:17:57 +0000 Subject: [PATCH] 2009-02-23 Esteban Sanchez * images/pixel_black.png: Added to repository. * include/functions_reporting.php: Fixed in_array() parameter order. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/images/pixel_black.png | Bin 0 -> 180 bytes pandora_console/include/functions_reporting.php | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 pandora_console/images/pixel_black.png diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ff423aebc9..de10e0cc68 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2009-02-23 Esteban Sanchez + + * images/pixel_black.png: Added to + repository. + + * include/functions_reporting.php: Fixed in_array() parameter order. + 2009-02-20 Evi Vanoost * pandoradb_migrate_20_to_21.sql, pandoradb.sql: Fixed going up/down diff --git a/pandora_console/images/pixel_black.png b/pandora_console/images/pixel_black.png new file mode 100644 index 0000000000000000000000000000000000000000..969ba2d1a5184bb6404becec9d0c0ef90381af0f GIT binary patch literal 180 zcmeAS@N?(olHy`uVBq!ia0vp^Od!kwBL7~QRScvUi-X*q7}lMWc?smOC3(BMF#HF> z1$&oI28wVNctiq~aSMYmBg3pY5H=O_M1%NT;c`^YOme`g=9-yBTAg}b8}Pk zN*J7rQWHy3QxwWGOEMHfGEx=XJ$(b-r>N!u6>@vJIEHXsPfl=PV_@K8U^IMrR}?7B N;OXk;vd$@?2>>$>E+7B^ literal 0 HcmV?d00001 diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index baf77c21f7..4024addcad 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -143,7 +143,7 @@ function get_group_stats ($id_group) { $cur_time = get_system_time (); $groups = array_keys (get_user_groups ()); - if ($id_group > 0 && in_array ($groups, $id_group)) { + if ($id_group > 0 && in_array ($id_group, $groups)) { //If a group is selected, and we have permissions to it then we don't need to look for them $groups = array (); $groups[0] = $id_group;