Changeset 2767

Show
Ignore:
Timestamp:
03/04/10 23:32:27 (2 years ago)
Author:
areski
Message:

Ticket #750 : no way to allow call sipfirned with 0 balance

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/common/lib/Class.A2Billing.php

    r2729 r2767  
    762762        {        
    763763                if ($this->typepaid == 0) { 
    764                         if ($this->credit < $this->agiconfig['min_credit_2call'] || $this->credit <= 0 ) { 
     764                        if ($this->credit < $this->agiconfig['min_credit_2call'] || $this->credit < 0 ) { 
    765765                                return false; 
    766766                        } else {