PDA

View Full Version : Am I dumb?


Andreas
07-17-2004, 02:46 PM
if ($numsearches = $DB_site->num_rows($getsearches) and 1 == 2)


Found in vB 3.0.3 search.php line 400.
That doesn't make sense at all?

AN-net
07-17-2004, 03:24 PM
yeah doesnt make sense cause 1 doesnt equal 2:) jelsoft is so silly ^_^

Serge
07-17-2004, 05:34 PM
Maybe it is part of a debug feature that they use and change the 1 to a 2. The if statement looks like it would always test false and it was meant to always test false.