[dev] [cvs] commit: mnemo memo.php view.php mnemo/config conf.xml mnemo/docs CHANGES mnemo/lib Driver.php Mnemo.php mnemo/lib/Driver sql.php mnemo/templates/list memo_summaries.inc mnemo/templates/memo memo.inc mnemo/templates/view memo.inc mnemo/themes screen.css

Jan Schneider jan at horde.org
Fri Dec 15 02:22:07 PST 2006


Zitat von Chuck Hagenbuch <chuck at horde.org>:

> Quoting Jan Schneider <jan at horde.org>:
>
>>>> Log:
>>>> Add support for encrypted notes.
>>>
>>> $show_passphrase is undefined in the 'add_memo' case in memo.php
>>> (undefined variable notice is in templates/memo/memo.inc, line 35).
>>
>> Where do you see this? I can't reproduce it.
>
> Just click on New Note. That loads memo.php, which only initializes
> $show_passphrase for the modify_memo case, not add_memo, and both
> load templates/memo/memo.inc, which has an if ($show_passphrase)
> check. I'd just initialize it, but I'm not sure whether it should
> ever be true for the add memo action.

Doh, I had E_NOTICE turned off temporarily and forgot to turn it on  
again. Should be fixed now.

Jan.

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



More information about the dev mailing list