Disabled modules no longer appear in the search
This commit is contained in:
parent
4113369680
commit
29ac2191b7
|
@ -73,6 +73,7 @@ else {
|
||||||
'nombre', 'web_content_string');
|
'nombre', 'web_content_string');
|
||||||
|
|
||||||
foreach ($modules as $module) {
|
foreach ($modules as $module) {
|
||||||
|
if(!$module['disabled']){
|
||||||
$module["datos"] =
|
$module["datos"] =
|
||||||
modules_get_last_value($module['id_agente_modulo']);
|
modules_get_last_value($module['id_agente_modulo']);
|
||||||
$module["module_name"] = $module['nombre'];
|
$module["module_name"] = $module['nombre'];
|
||||||
|
@ -222,6 +223,7 @@ else {
|
||||||
$timestampCell,
|
$timestampCell,
|
||||||
$edit_module));
|
$edit_module));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
echo "<br />";
|
echo "<br />";
|
||||||
ui_pagination ($totalModules);
|
ui_pagination ($totalModules);
|
||||||
|
|
Loading…
Reference in New Issue