note 24155 deleted from language.oop by vincent

From: Date: Thu, 11 Sep 2003 20:00:56 +0000
Subject: note 24155 deleted from language.oop by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56207@lists.php.net to get a copy of this message
Note Submitter: uws (at) xs4all (dot) nl ---- The sample code provided above doesn't seem correct to me. The line that says: if ($this->items[$artnr] > $num) should be changed to: if ($this->items[$artnr] >= $num) Otherwise, you won't be able to remove all items from the cart.

« previous php.notes (#56207) next »