2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template function in order to not retrieve delete modules. Fixes: #3401666 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
149e5f5f57
commit
624c2edaff
|
@ -1,3 +1,10 @@
|
|||
2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
|
||||
function in order to not retrieve delete modules.
|
||||
|
||||
Fixes: #3401666
|
||||
|
||||
2011-08-31 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* extensions/update_manager/lib/libupdate_manager_client.php,
|
||||
|
|
|
@ -1587,6 +1587,8 @@ function alerts_get_agents_with_alert_template ($id_alert_template, $id_group, $
|
|||
$filter[] = 'tagente_modulo.id_agente_modulo = talert_template_modules.id_agent_module';
|
||||
$filter[] = 'tagente_modulo.id_agente = tagente.id_agente';
|
||||
$filter['id_alert_template'] = $id_alert_template;
|
||||
$filter['tagente_modulo.disabled'] = '<> 1';
|
||||
$filter['delete_pending'] = '<> 1';
|
||||
if (empty ($id_agents)) {
|
||||
switch ($config["dbtype"]) {
|
||||
case "mysql":
|
||||
|
|
Loading…
Reference in New Issue