6.0.0-beta1
9/21/25

[#3370] prefs broken in due to prefGroup checks
Summary prefs broken in due to prefGroup checks
Queue Horde Base
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester eric.rostetter (at) physics (dot) utexas (dot) edu
Created 01/30/2006 (7174 days ago)
Due
Updated 01/31/2006 (7173 days ago)
Assigned
Resolved 01/31/2006 (7173 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/31/2006 05:07:53 PM Eric Rostetter Comment #3 Reply to this comment
Dang.  I'd looked at the HEAD code and didn't notice the array 
initialization you added.

Sorry for the bother (I would have merged it myself if I'd noticed 
what you did).
01/31/2006 09:51:36 AM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
I had actually fixed this in HEAD already, but didn't think to merge 
it. Done now.
01/31/2006 09:49:12 AM Chuck Hagenbuch Version ⇒ HEAD
Queue ⇒ Horde Base
 
01/30/2006 09:32:16 PM Eric Rostetter Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ prefs broken in due to prefGroup checks
Queue ⇒ Horde.org Servers
Reply to this comment
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.

Saved Queries