Gossamer Forum
Home : Products : Gossamer List : Discussion :

bug in code

Quote Reply
bug in code
Hi there,

Don't know how I this error didn't come up during my first tests, but I found a bug when attempting to send emails:

in Glist.pm
sub check_limits {
.....


if ( $num_sent >= $USER->{usr_limit_email30} ) {
$error = GList::language('SYS_OVERLIMIT_EMAIL30');
return 1;
}
return $num_sent;
....

If the $num_set value is also 1 then it returns 1 which is also an indication that the user has reached the limits when called from
Mailer.pm sub mli_send {...}

Just in case you didn't catch this one....

peace.

klangan
Subject Author Views Date
Thread bug in code klangan 7437 Sep 10, 2006, 9:02 PM
Thread Re: [klangan] bug in code
604 7267 Sep 20, 2006, 10:39 AM
Post Re: [604] bug in code
klangan 7260 Nov 9, 2006, 11:20 AM