[Tickets #8103] Re: Filters with no conditions

bugs at horde.org bugs at horde.org
Mon Mar 23 15:18:05 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8103
------------------------------------------------------------------------------
  Ticket             | 8103
  Updated By         | almarin at um.es
  Summary            | Filters with no conditions
  Queue              | Ingo
  Version            | 1.2.1
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


almarin at um.es (2009-03-23 11:18) wrote:

I don't think so.

The patch checks if any condition exists:

  if (count($this->_conditions) > 0) {

In that case, it add 'if' statments and the conditions.

I don't know if i'm missing something, but the patch is working for me.

In fact, i think that actual condition looks weird:

if (count($this->_conditions > 1)) {

Comparing an array with a number before count?






More information about the bugs mailing list