Re: [PHPLIB-DEV] cvs commit From: Massimiliano Masserelli (negro <email protected>)
Date: 02/14/00

On Mon, Feb 14, 2000 at 11:08:03AM +0100, kk wrote:

> - if ( "" == $id ) {
> + if ( !isset($id) or ("" == $id) ) {
> $newid=false;
> switch ($this->mode) {
> case "get":

Why not

 if (empty($id)) {

?

--
     Massimiliano Masserelli       |     URL:    http://www.interim.it/
     Internet Images S.r.l.        |     Tel:    +39-051-3390671
     vicolo Viazzolo, 3            |     Fax:    +39-051-557890
     40124 - Bologna - Italy       |
-------------------------------------------------------------------------------
Distance doesn't make you any smaller, but it does make you part of a
larger picture.
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.