summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-01-26 03:14:44 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-01-26 03:14:44 +0100
commit0d42489234e0fdfecd11f46b1d3573e60db3918c (patch)
tree11c2ea600bdceab674960c6dbc368ee610702364 /system/database/drivers/postgre
parent1edde30e4443bdcb54a16bf220a5a359825ab549 (diff)
Misspelled class property in db class. _like_escape_chr, not _like_escape_char
http://codeigniter.com/bug_tracker/bug/9518/
Diffstat (limited to 'system/database/drivers/postgre')
-rw-r--r--system/database/drivers/postgre/postgre_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index bac179d40..9f991e4a0 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -405,7 +405,7 @@ class CI_DB_postgre_driver extends CI_DB {
if ($prefix_limit !== FALSE AND $this->dbprefix != '')
{
- $sql .= " AND table_name LIKE '".$this->escape_like_str($this->dbprefix)."%' ".sprintf($this->_like_escape_str, $this->_like_escape_char);
+ $sql .= " AND table_name LIKE '".$this->escape_like_str($this->dbprefix)."%' ".sprintf($this->_like_escape_str, $this->_like_escape_chr);
}
return $sql;