2010-11-04 Miguel de Dios <miguel.dedios@artica.es>

* extensions/module_groups.php: fixed a unset $fired var.
	
	Fixes: #3102791



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-11-04 16:35:29 +00:00
parent da1b8bbee2
commit f0f2d1be41
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* extensions/module_groups.php: fixed a unset $fired var.
Fixes: #3102791
2010-11-04 Miguel de Dios <miguel.dedios@artica.es> 2010-11-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/events/events_marquee.php: fixed the error SQL message and * operation/events/events_marquee.php: fixed the error SQL message and

View File

@ -119,6 +119,8 @@ function mainModuleGroups() {
//The content of table //The content of table
$tableData = array(); $tableData = array();
$fired = false;
//Create rows and cells //Create rows and cells
foreach ($agentGroups as $idAgentGroup => $name) { foreach ($agentGroups as $idAgentGroup => $name) {
@ -139,7 +141,6 @@ function mainModuleGroups() {
$module = get_db_row_filter('tagente_modulo', array('id_agente_modulo' => $alert['id_agent_module'])); $module = get_db_row_filter('tagente_modulo', array('id_agente_modulo' => $alert['id_agent_module']));
if ($idModelGroup == $module['id_module_group']) { if ($idModelGroup == $module['id_module_group']) {
$fired = false;
if ($alert["times_fired"] > 0) { if ($alert["times_fired"] > 0) {
$fired = true; $fired = true;
} }