2009-08-18 Miguel de Dios <miguel.dedios@artica.es>

* godmode/agentes/agent_template.php: refine the query to extract modules
	from DB, now the query don't search modules are pending to delete.
	Fixes: 2824695



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1857 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-08-18 09:48:51 +00:00
parent 43a76212b8
commit a62c56bbc1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-08-18 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_template.php: refine the query to extract modules
from DB, now the query don't search modules are pending to delete.
Fixes: 2824695
2009-08-18 Miguel de Dios <miguel.dedios@artica.es>
* ChangeLog: add comments of last commits, I forget update file.

View File

@ -111,7 +111,7 @@ echo '</div></form>';
// ==========================
echo "<h3>".__('Assigned modules')."</h3>";
$sql = sprintf ("SELECT * FROM tagente_modulo WHERE id_agente = %d ORDER BY id_module_group, nombre", $id_agente);
$sql = sprintf ("SELECT * FROM tagente_modulo WHERE id_agente = %d AND delete_pending = false ORDER BY id_module_group, nombre", $id_agente);
$result = get_db_all_rows_sql ($sql);
if ($result === false) {
$result = array ();