2010-06-02 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php: Fixed the error showed in manage agents into alerts when the agent has not modules for bug 3010359 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
f67f6f65d1
commit
c1dc8efc48
|
@ -1,3 +1,9 @@
|
|||
2010-06-02 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* godmode/alerts/alert_list.list.php: Fixed the error
|
||||
showed in manage agents into alerts when the agent
|
||||
has not modules for bug 3010359
|
||||
|
||||
2010-06-02 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* operation/agentes/networkmap.php: Fixed the fullscreen
|
||||
|
|
|
@ -126,6 +126,8 @@ if ($searchFlag) {
|
|||
$total = get_agent_alerts_simple (array_keys ($agents), array('priority' => $priority),
|
||||
false, $where, false, false, false, true);
|
||||
|
||||
if(empty($total)) $total = 0;
|
||||
|
||||
pagination ($total, 'index.php?sec=gagente&sec2=godmode/alerts/alert_list');
|
||||
$simple_alerts = get_agent_alerts_simple (array_keys ($agents), array('priority' => $priority),
|
||||
array ('offset' => (int) get_parameter ('offset'),
|
||||
|
@ -173,7 +175,6 @@ $table->data = array ();
|
|||
|
||||
$rowPair = true;
|
||||
$iterator = 0;
|
||||
|
||||
foreach ($simple_alerts as $alert) {
|
||||
if ($alert['disabled']) {
|
||||
$table->rowstyle[$iterator] = 'font-style: italic; color: #aaaaaa;';
|
||||
|
|
Loading…
Reference in New Issue