Hi Brian,
On 05/23/2012 06:02 PM, dotnetdub wrote:
No quota has been exceeded

So I am not php expert. Is this line a problem?

             } else if ($this->daily_quota&&
($this->db->f('cost_daily')>= $this->db->f('quota') *
$this->daily_quota/100)) {


If we look in detail at this line:
- $this->daily_quota is true (it exists),
- the daily cost field in the db is greater then quota_amount*(daily_quota/100)
- they are both true so it should match

So this line *should* work if it does not maybe you can add some debug and check the values of the db fields in between.

--
Tijmen de Mes
AG Projects


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to