[dev] Re: [cvs] commit: imp folders.php
Jon Parise
jon@horde.org
Tue, 4 Jun 2002 14:21:40 -0400
On Tue, Jun 04, 2002 at 01:50:28PM -0400, Chuck Hagenbuch wrote:
> > Then how come in (e.g.) ./templates/common-header.inc we have code like:
> >
> > if (!empty($refresh_time) && ($refresh_time > 0)
> >
> > Isn't that then redundent?
>
> You're right, it is - it should be cleaned up.
Unless you're looking for positive integer values. empty(-2) is true.
--
Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
http://www.csh.rit.edu/~jon/ : Computer Science House Member