note 74418 added to ref.memcache

From: Date: Tue, 10 Apr 2007 21:45:48 +0000
Subject: note 74418 added to ref.memcache
Groups: php.notes 
Request: Send a blank email to php-notes+get-125271@lists.php.net to get a copy of this message
There is a tiny bug in the Aggregator class when using the flush() function. The reference to $connections should be $this->connections. Change: public function flush() { $result = false; for ($i = 0; $i < count($connections); $i++) { if ($this->connections[$i]->flush()) { $result = true; } } return $result; } To: public function flush() { $result = false; for ($i = 0; $i < count($this->connections); $i++) { if ($this->connections[$i]->flush()) { $result = true; } } return $result; } ---- Server IP: 69.39.81.135 Probable Submitter: 68.198.142.14 ---- Manual Page -- http://www.php.net/manual/en/ref.memcache.php Edit -- https://master.php.net/note/edit/74418 Del: integrated -- https://master.php.net/note/delete/74418/integrated Del: useless -- https://master.php.net/note/delete/74418/useless Del: bad code -- https://master.php.net/note/delete/74418/bad+code Del: spam -- https://master.php.net/note/delete/74418/spam Del: non-english -- https://master.php.net/note/delete/74418/non-english Del: in docs -- https://master.php.net/note/delete/74418/in+docs Del: other reasons-- https://master.php.net/note/delete/74418 Reject -- https://master.php.net/note/reject/74418 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#125271) next »