Even more debug

This commit is contained in:
Daniel J. Summers 2024-06-04 21:36:36 -04:00
parent b871d3e03f
commit 259247464a

View File

@ -50,6 +50,7 @@ class DocumentList
if ($debug) echo '*** CALLED GENERATOR ***'; if ($debug) echo '*** CALLED GENERATOR ***';
if ($this->result) { if ($this->result) {
if ($debug) echo 'There are results';
while ($row = $this->result->fetch(PDO::FETCH_ASSOC)) { while ($row = $this->result->fetch(PDO::FETCH_ASSOC)) {
if ($debug) echo "<pre>Returning an item\n</pre>"; if ($debug) echo "<pre>Returning an item\n</pre>";
yield $this->mapper->map($row); yield $this->mapper->map($row);