[dev] a small bug in horde/lib/Prefs.php (new problem: fixed)

Chuck Hagenbuch chuck@horde.org
Tue, 10 Apr 2001 00:57:18 -0400


Quoting Atif Ghaffar <aghaffar@developer.ch>:

> Is it my php settings that I get croaks on uninitilized variables or
> should they be initialized?

No, you are just misusing the prefs system. 'special' prefs aren't actually 
names of preferences that get stored; they're tags for special forms. You need 
to define the preference itself as an 'implicit' pref, and set the pref of that 
name in the processing for the 'special' pref.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Number of U.S. nuclear bombs lost in accidents and never recovered: 11