2014-03-03 Miguel de Dios <miguel.dedios@artica.es>

* include/functions_api.php: fixed the call "get_total_modules" now
	it does not count the pending delete modules. And thanks Cucumber for
	to the advise.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-03-03 17:06:31 +00:00
parent fcabe2ae8a
commit 6f266063ca
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-03-03 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php: fixed the call get
2014-02-25 Sergio Martin <sergio.martin@artica.es>
* include/javascript/pandora_events.js

View File

@ -6096,7 +6096,7 @@ function api_get_total_modules($id_group, $trash1, $trash2, $returnType) {
$sql = "SELECT COUNT(*)
FROM tagente_modulo
WHERE id_module_group=$id_group";
WHERE id_module_group=$id_group AND delete_pending = 0";
$total = db_get_value_sql($sql);