Even more debug
This commit is contained in:
parent
b871d3e03f
commit
259247464a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user