2010-10-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php: Fixed the function get_agentmodule_id to avoid the pending_delete modules git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3369 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
2af3b2fa76
commit
f5f859faff
|
@ -1,3 +1,8 @@
|
|||
2010-10-08 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_db.php: Fixed the function get_agentmodule_id
|
||||
to avoid the pending_delete modules
|
||||
|
||||
2010-10-08 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager_editor_common.php
|
||||
|
|
|
@ -572,7 +572,7 @@ function get_agentmodule ($id_agentmodule) {
|
|||
* @return int the agentmodule id
|
||||
*/
|
||||
function get_agentmodule_id ($agentmodule_name, $agent_id) {
|
||||
return get_db_row_filter ('tagente_modulo', array('nombre' => $agentmodule_name, 'id_agente' => $agent_id));
|
||||
return get_db_row_filter ('tagente_modulo', array('nombre' => $agentmodule_name, 'id_agente' => $agent_id, 'delete_pending' => 0));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue