Zitat von Andrea Soracchi <[EMAIL PROTECTED]>:

> Hi,
>
> I have installed Horde 3.2 RC2 and Imp 4.2.
>
> In horde/config/pref.php :
>
> $_prefs['from_addr'] = array(
>     'value' => '',
>     'locked' => false,
>     'shared' => true,
>     'type' => 'text',
>     'hook' => true,
>     'desc' =>  _("Your From: address:")
> );
>
> and in hooks.php I have this simple function:
>
> if (!function_exists('_prefs_hook_from_addr')) {
>      function _prefs_hook_from_addr($user = null)
>      {
>         if (is_null($user)) {
>                 $user = Auth::getAuth();
>         }
>         return $user;
>      }
>  }
>
> I have the same result: $user is empty!!!

Even after logging in successfully to Horde?

Jan.

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

-- 
IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [EMAIL PROTECTED]

Reply via email to