[dev] pref - maxsize

Jan Schneider jan at horde.org
Fri Feb 6 07:20:38 PST 2004


Zitat von steve <mailling at gmx.co.uk>:

> In config.xml, the maxsize is set as not required, so we need to add this:
> (because when we generate conf.php with the Horde admin tool, it can be
> removed)
>
> RCS file: /repository/framework/Prefs/Prefs.php,v
> retrieving revision 1.129
> diff -w -b -r1.129 Prefs.php
> 276c276
> <         if (isset($conf['prefs']['maxsize'])) {
> ---
> >         if (isset($conf['prefs']['maxsize']) &&
> !is_null($conf['prefs']['maxsize'])) {

This doesn't change anything (and there is no need to change anything, btw)
because isset() is exactly the opposite of is_null().

But why do I answer, you don't read replies anyway.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list