note 35499 deleted from function.get-browser by sniper

From: Date: Tue, 24 Feb 2004 23:05:19 +0000
Subject: note 35499 deleted from function.get-browser by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-65670@lists.php.net to get a copy of this message
Note Submitter: no ---- There are problems in the note: feedback at blichmann dot de - 27-Mar-2003 06:13 The following statement is incorrect: // An old 3rd generation web browser define("NW_IS_GEN3", NW_IS_NN < 4 || NW_IS_OPERA < 4 || NW_IS_IE < 4 || NW_MOZ_VERSION < 4); // } Browser Detection NW_IS_GEN3 will always be true in the code above. The author meant to use "&&" instead of "||". One of my junior coders copy & pasted a block. He'll be reprimanded tomorrow.

« previous php.notes (#65670) next »