Skip to content

Commit

Permalink
Fixed numRows count for get Cache records.
Browse files Browse the repository at this point in the history
  • Loading branch information
izniburak committed Nov 28, 2017
1 parent 95f6488 commit 631d74b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pdox.php
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,7 @@ public function query($query, $all = true, $array = false)
else {
$this->cache = null;
$this->result = $cache;
$this->numRows = count($this->result);
}

$this->queryCount++;
Expand Down

0 comments on commit 631d74b

Please sign in to comment.