[ingo] RELENG_1 filters.php

Wolfgang Rosenauer wolfgang.rosenauer at an-netz.de
Mon Apr 28 14:13:50 PDT 2003


Hi,

another patch for RELENG_1 (for Horde 2.2.x) because Horde::addParameter was called different:

Index: filters.php
===================================================================
RCS file: /repository/ingo/filters.php,v
retrieving revision 1.14
diff -u -r1.14 filters.php
--- filters.php 25 Apr 2003 20:40:24 -0000      1.14
+++ filters.php 28 Apr 2003 11:11:22 -0000
@@ -116,12 +116,12 @@
      $rule_count = count($rules);

      foreach ($rules as $rule_number => $filter) {
-        $url = Horde::addParameter($filters_url, 'rulenumber', $rule_number);
-        $editurl = Horde::addParameter($url, 'actionID', INGO_RULE_EDIT);
-        $delurl  = Horde::addParameter($url, 'actionID', INGO_RULE_DELETE);
-        $copyurl = Horde::addParameter($url, 'actionID', INGO_RULE_COPY);
-        $upurl   = Horde::addParameter($url, 'actionID', INGO_ACTION_UP);
-        $downurl = Horde::addParameter($url, 'actionID', INGO_ACTION_DOWN);
+        $url = Horde::addParameter($filters_url, 'rulenumber=' . $rule_number);
+        $editurl = Horde::addParameter($url, 'actionID=' . INGO_RULE_EDIT);
+        $delurl  = Horde::addParameter($url, 'actionID=' . INGO_RULE_DELETE);
+        $copyurl = Horde::addParameter($url, 'actionID=' . INGO_RULE_COPY);
+        $upurl   = Horde::addParameter($url, 'actionID=' . INGO_ACTION_UP);
+        $downurl = Horde::addParameter($url, 'actionID=' . INGO_ACTION_DOWN);
          $i++;
          switch ($filter['action']) {
          case INGO_STORAGE_ACTION_BLACKLIST:



More information about the ingo mailing list