[dev] patch for horde/portal_edit.php
Amith Varghese
amith at xalan.com
Mon Sep 29 06:50:43 PDT 2003
| > 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.
Amith
More information about the dev
mailing list