commit | 014a4d23c4805d5aa81b2feb0f9694611a372a9f | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Thu Jul 05 15:14:58 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Thu Jul 05 15:14:58 2012 +0300 |
tree | 25565b95e215b5deb90c026abdf04fc8343d0f42 | |
parent | c7db6bb9b64c8322af4d727bcb71122cd7f09dbf [diff] |
Fix a typo
diff --git a/system/database/drivers/pdo/pdo_result.php b/system/database/drivers/pdo/pdo_result.php index 8dc16b1..322da8d 100644 --- a/system/database/drivers/pdo/pdo_result.php +++ b/system/database/drivers/pdo/pdo_result.php
@@ -56,7 +56,7 @@ { return $this->num_rows = count($this->result_object); } - elseif (($this->num_rows = $this->restul_id->rowCount()) > 0) + elseif (($this->num_rows = $this->result_id->rowCount()) > 0) { return $this->num_rows; }