This small patch for alerting.php seems to be sufficient?

--- /home/jens/nfsen-1.3/html/alerting.php      2007-11-21 09:40:59.000000000 
+0100
+++ /var/www/html/nfsen/alerting.php    2008-07-02 11:34:46.000000000 +0200
@@ -604,6 +604,8 @@
                foreach ( $alert_action_plugin as $plugin) {
                        $selected = $alert['action_plugin'] == $plugin ? 
'selected' : '';
                        print " <option value='$i' $selected>" . $plugin . 
"</option>\n";
+// JH
+                       $i++;
                }
        }
 ?>


Jens Hektor schrieb:
we are using nfsen 1.3 and are working with alert action plugins.

Unfortunately we were not able to use a second alert action plugin,
maybe because the option values in the dropdown menu have the
same indexing values:

    <option value='0' selected>alert_plugin_top10</option>
    <option value='0' >alert_plugin_mail_flows_top10</option>

Small fix available?

--
Dipl.-Phys. Jens Hektor, Netzbetrieb
RWTH Aachen University, Center for Computing and Communication
Room 2.07, Wendlingweg 10, 52074 Aachen (Germany)
Phone: +49 241 80 29206 - Fax: +49 241 80 22100
http://www.rz.rwth-aachen.de - [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to