[dev] Ingo: filters.php PATCH

Marc Jauvin marc at register4less.com
Fri Jun 27 04:32:47 PDT 2003


This patch fixes the broken edit/del/new rules links.

--
Marc Jauvin
450-441-5458
http://register4less.com
-------------- next part --------------
Index: filters.php
===================================================================
RCS file: /repository/ingo/filters.php,v
retrieving revision 1.28
diff -u -r1.28 filters.php
--- filters.php 24 Jun 2003 07:54:54 -0000      1.28
+++ filters.php 27 Jun 2003 11:30:45 -0000
@@ -176,7 +176,7 @@
             break;

         default:
-            $editurl = Horde::addParameter($rule_url, 'edit', $id);
+            $editurl = Horde::addParameter($rule_url, 'edit', $rule_number);
             $editurl = Horde::addParameter($editurl, 'actionID', 'rule_edit');
             $delurl  = Horde::addParameter($url, 'actionID', 'rule_delete');
             $copyurl = Horde::addParameter($url, 'actionID', 'rule_copy');


More information about the dev mailing list