[dev] patch for horde/portal_edit.php

Jan Schneider jan at horde.org
Mon Sep 29 07:11:34 PDT 2003


Zitat von Amith Varghese <amith at xalan.com>:

> | > If you have no portal layout defined (i.e. the prefname portal_layout
> | > isn't
> | > saved as one of your preferences) a couple of warnings are printed
> out
> | > when you
> | > try to define a layout.  I would have thought that the default prefs
> from
> | > config/prefs.php are read in, but it doesn't seem like that (on my
> setup
> | > portal_layout is NULL).  If this is the intended behaviour then this
> | > patch
> | > fixes those warnings.
> |
> | No, this isn't the intended behaviour.
>
> So to clarify
>
> $layout_pref = unserialize($prefs->getValue('portal_layout'));
>
> should in this order
>
> 1) read from the user's prefs
> 2) read from the default prefs
>
> I guess in my case #2 is not happening.  If this is correct I'll
> investigate
> further.

This is correct and not only happening to you. It would be great if you
could find the reason.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list