[Tickets #3370] NEW: prefs broken in due to prefGroup checks

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Jan 30 13:32:18 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=3370
-----------------------------------------------------------------------
 Ticket             | 3370
 Created By         | Eric Rostetter <eric.rostetter at physics.utexas.edu>
 Summary            | prefs broken in  due to prefGroup checks
 Queue              | Horde Project Systems
 State              | Unconfirmed
 Priority           | 1. Low
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


Eric Rostetter <eric.rostetter at physics.utexas.edu> (2006-01-30 13:32) wrote:

In horde/services/prefs.php line 44/46 (FRAMEWORK_3/HEAD) it checks for
$prefGroup[] existing ala:

if (empty($group) && count($prefGroups) == 1) {

However, prefGroups doesn't exist in jonah/config/prefs.php as it only has
one pref.
This causes an error in the above line, and results in the options not
working.

I'm not sure if the correct change is to fix horde/services/prefs.php to
check for this case,
or to fix jonah (and any others if there are others) to always have at least
one prefGroup.




More information about the bugs mailing list