#1599 Setting Number of Messages to Index to 0 causes problems

Produces PHP errors
Options (155)

SM Version: 1.4.3-RC1
Webserver: Apache 1.3.26
PHP: 4.2.3
IMAP: Courier 1.5.1

On the Options -> Display Preferences page, if you set
the "Number of Messages to Index" setting to 0, it
causes these PHP warnings to appear on your mailbox index:

Warning: Division by zero in
/var/www/sm/functions/mailbox_display.php on line 1039

Warning: Division by zero in
/var/www/sm/functions/mailbox_display.php on line 1042

Also, only the first message in the mailbox is visible
unless you click the Show All link.

Vince Valenti


  • Jonathan Angliss

    • assigned_to: nobody --> jangliss
    • status: open --> open-fixed
  • Jonathan Angliss

    Logged In: YES

    I believe that the bug you reported has been fixed in the CVS version. Please either grab a live CVS version or wait and grab an archive of the CVS from tomorrow or later (just to make sure it has the changes in it).

    If the bug does not exist after you update to the CVS version, please close this bug report.

  • Jonathan Angliss

    • status: open-fixed --> closed-fixed

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks