[Tickets #1627] NEW: Locking all options for module results in Division by zero in UI.php

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Mar 25 20:16:31 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1627
-----------------------------------------------------------------------
 Ticket             | 1627
 Created By         | kevin_myer at iu13.org
 Summary            | Locking all options for module results in Division by zero in UI.php
 Queue              | Horde Base
 Version            | 3.0.3
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


kevin_myer at iu13.org (2005-03-25 20:16) wrote:

If you lock down all the available preferences for a module, in prefs.php
and you choose the Options link for that preference, the following message
is displayed:

Warning: Division by zero in /horderoot/lib/Horde/Prefs/UI.php on line 225

An easy module to use to test this is Ingo, since it has one user changeable
preference.

I'm not sure how difficult it would be to implement but I would see benefit
to an end-user if the Options button in the menu and the options listing in 
"Edit Options for" drop-down menu were not generated at all, if no
user-configurable preferences were present for a module.




More information about the bugs mailing list