Zitat von Andrea Soracchi <[EMAIL PROTECTED]>:
> Hi,
> How can I check?
How *did* you check it initially? You said it was always empty! You
could log the value with Horde::logMessage().
> The function is called during the login.
>
> Thanks
>
> On Thu, 14 Feb 2008 17:01:19 +0100, Jan Schneider <[EMAIL PROTECTED]> wrote:
>> 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]
> --
> NETBUILDER S.R.L.
> Andrea Soracchi- System Engineer
> Tel. 0521-247791
> Fax. 0521-7431140 / 0521 - 1851253
> www.netbuilder.it
>
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]