[imp] Hook for from_addr works only when locked is set to false

Jan Schneider jan at horde.org
Thu Aug 17 05:57:08 PDT 2006


Zitat von Yves Bilgeri <yves.bilgeri at bbw.ch>:

> Hello Horde Users!
>
> I made a hook for the $_prefs['from_addr'] setting, set 'hook' =>  
> true and 'locked' => true. So this way the hook gets called and  
> returns the right result, but now new entry in horde_prefs appear.
>
> Now when I set 'locked' => false in $_prefs['from_addr'] it works,  
> it sets the entry in horde_prefs. But I don't want that the user can  
> change the from_addr and that's why I want to use the hook.
>
> Why doesn't it work with 'locked' set to true?

It works fine with both locked and unlocked prefs.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list