Page MenuHomePhabricator

D15869.id38225.diff
No OneTemporary

D15869.id38225.diff

diff --git a/src/utils/PhutilBufferedIterator.php b/src/utils/PhutilBufferedIterator.php
--- a/src/utils/PhutilBufferedIterator.php
+++ b/src/utils/PhutilBufferedIterator.php
@@ -89,7 +89,7 @@
* @task iterator
*/
final public function valid() {
- return (bool)$this->data;
+ return (bool)count($this->data);
}

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 20, 7:52 PM (2 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714401
Default Alt Text
D15869.id38225.diff (335 B)

Event Timeline