Current time: 03-19-2010, 09:11 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] "maximum emails per day" doesn't work
08-07-2008, 03:22 AM
Post: #1
[F] "maximum emails per day" doesn't work
This code is used in sendthread.php and twice in member.php:

PHP Code:
$query $db->simple_select("maillogs""COUNT(*) AS sent_count""fromuid='{$mybb->user['uid']}'");
$sent_count $db->fetch_field($query"maillogs"); 

The second argument to fetch_field() should be "sent_count".

Also, shouldn't this query be limited to records from the last 24 hours? Or are you just relying on the "Log Pruning" task to run every day? :\
Visit this user's website Find all posts by this user
08-07-2008, 03:23 AM
Post: #2
[F] "maximum emails per day" doesn't work
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: