summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
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/DB_active_rec.php
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/DB_active_rec.php')
-rw-r--r--system/database/DB_active_rec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index bf4d5117e..a3abff11e 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -725,7 +725,7 @@ class CI_DB_active_record extends CI_DB_driver {
// some platforms require an escape sequence definition for LIKE wildcards
if ($this->_like_escape_str != '')
{
- $like_statement = $like_statement.sprintf($this->_like_escape_str, $this->_like_escape_char);
+ $like_statement = $like_statement.sprintf($this->_like_escape_str, $this->_like_escape_chr);
}
$this->ar_like[] = $like_statement;