summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-05 14:14:58 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-05 14:14:58 +0200
commit014a4d23c4805d5aa81b2feb0f9694611a372a9f (patch)
tree25565b95e215b5deb90c026abdf04fc8343d0f42 /system
parentc7db6bb9b64c8322af4d727bcb71122cd7f09dbf (diff)
Fix a typo
Diffstat (limited to 'system')
-rw-r--r--system/database/drivers/pdo/pdo_result.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/pdo/pdo_result.php b/system/database/drivers/pdo/pdo_result.php
index 8dc16b1df..322da8d37 100644
--- a/system/database/drivers/pdo/pdo_result.php
+++ b/system/database/drivers/pdo/pdo_result.php
@@ -56,7 +56,7 @@ class CI_DB_pdo_result extends CI_DB_result {
{
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;
}