Hi, there is a small bug in nfsen that prevented me from selecting the right alert_plugin, and always the last plugin was selected.
This patch should fix it:
=======================================
--- /var/www/html/nfsen/alerting.php.orig 2010-06-25 08:40:18.000000000
+0200
+++ /var/www/html/nfsen/alerting.php 2010-09-17 17:35:21.000000000 +0200
@@ -602,10 +602,11 @@
} else {
$i = 0;
foreach ( $alert_action_plugin as $plugin) {
$selected = $alert['action_plugin'] == $plugin ?
'selected' : '';
print " <option value='$i' $selected>" . $plugin .
"</option>\n";
+ $i++;
}
}
?>
</select>
</td>
=======================================
--
Dipl.-Phys. Jens Hektor, Kommunikation und Sicherheit
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]
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Nfsen-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
