Merge remote branch 'origin/platal-1.0.0'
authorStéphane Jacob <sj@m4x.org>
Mon, 9 Aug 2010 00:13:38 +0000 (02:13 +0200)
committerStéphane Jacob <sj@m4x.org>
Mon, 9 Aug 2010 00:13:38 +0000 (02:13 +0200)
1  2 
include/ufbuilder.inc.php

@@@ -450,7 -450,7 +450,7 @@@ abstract class UFBF_Mixed extends UFB_F
              }
              $this->val = array($index);
          } else {
 -            $indexes = DirEnum::getIDs($this->direnum, $ufb->t($this->envfield), 
 +            $indexes = DirEnum::getIDs($this->direnum, $ufb->t($this->envfield),
                  $ufb->b('exact') ? XDB::WILDCARD_EXACT : XDB::WILDCARD_CONTAINS);
              if (count($indexes) == 0) {
                  return false;
@@@ -682,7 -682,7 +682,7 @@@ class UFBF_Dead extends UFBF_Enu
      protected function buildUFC(UserFilterBuilder &$ufb)
      {
          if ($this->val == 1) {
-             return new PFC_Not(UFC_Dead());
+             return new PFC_Not(new UFC_Dead());
          } else if ($this->val == 2) {
              return new UFC_Dead();
          }