[horde] Portalblock problem

Jan Kuipers jrkuipers at lauwerscollege.nl
Fri Apr 2 15:32:40 PST 2004


Citeren Jan Kuipers <jrkuipers at lauwerscollege.nl>:

> I found that this is caused by a hook I use to set the from_addr:
> (from_addr is locked)
>
> if (!function_exists('_prefs_hook_from_addr')) {
>     function _prefs_hook_from_addr()
>     {
>         $name = Auth::getAuth();
>         return $name;
>     }
> }

I simple workaround

Don't use a hook and use this for the preference:

$_prefs['from_addr'] = array(
     'value' => Auth::getAuth(),
     'locked' => true,
     'shared' => true,
     'type' => 'implicit'
);

--
Jan Kuipers
Systeembeheer Lauwers College

----------------------------------------------------------------
DISCLAIMER

This message contains confidential information and is intended only for 
the individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be 
intercepted, corrupted, lost, destroyed, arrive late or incomplete, or 
contain viruses. The sender therefore does not accept liability for any 
errors or omissions in the contents of this message, which arise as a 
result of e-mail transmission. If verification is required please 
request a hard-copy version.





More information about the horde mailing list