Ignore:
Timestamp:
10/29/10 10:29:44 (14 years ago)
Author:
rafaelraymundo
Message:

Ticket #1289 - Criacao de regra para as mensagens c/mais de 0k nao é aceita

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/expressoMail1_2/inc/class.ScriptS.inc.php

    r3018 r3438  
    4040                 
    4141                $this->continuebit      = 1; 
    42         $this->sizebit          = 2; 
     42        $this->sizebit          = 1; 
    4343        $this->anyofbit         = 4; 
    4444        $this->keepbit          = 8; 
     
    286286          $rule['unconditional']   = 0; 
    287287                   
    288                   if (!$rule['from'] && !$rule['to'] && !$rule['subject'] && !$rule['field'] && !$rule['size'] && $rule['action']){ 
     288                  if (!$rule['from'] && !$rule['to'] && !$rule['subject'] && !$rule['field'] && !($rule['size'] >= 0) && $rule['action']){ 
    289289                         $rule['unconditional'] = 1; 
    290290                  } 
     
    359359                        $started = 1; 
    360360                    } 
    361                     if ($rule['size']) { 
     361                    if ($rule['size'] >= 0) { 
    362362                        $xthan = " :under "; 
    363363                        if ($rule['gthan']) $xthan = " :over "; 
Note: See TracChangeset for help on using the changeset viewer.