[ingo] Size condition (was Deleting filters (from faq@horde.org)) PATCH

Matthew Baker m at wheres.co.uk
Tue Nov 11 05:40:01 PST 2003


I've revisited this issue by installing horde/ingo on a fresh web server.
Below is a patch which fixes it (for me).

--- rule.php.old        2003-09-17 00:05:26.000000000 +0100
+++ rule.php    2003-11-11 13:32:23.000000000 +0000
@@ -204,7 +204,7 @@
          !isset($ingo_fields[$condition['field']]['tests'])) {
          $avail_tests = $ingo_script->availableTests();
      } else {
-        $avail_tests = $ingo_fields[$field]['tests'];
+        $avail_tests = $ingo_fields[$condition['field']]['tests'];
      }

      $match_select = '';

Michael M Slusarz wrote:
> Quoting Matthew Baker <m at wheres.co.uk>:
> 
> | Also I'm getting this error when selecting Size from fields.
> |
> | Warning: Illegal offset type in /home/www/wm/ingo/rule.php on line 207
> 
> Not getting this error.
> 
> michael
> 



More information about the ingo mailing list