commit | 827f3de2733e85ede6311feb2e4bf73ecf209eb3 | [log] [tgz] |
---|---|---|
author | Greg Aker <greg.aker@ellislab.com> | Fri May 06 11:29:57 2011 -0500 |
committer | Greg Aker <greg.aker@ellislab.com> | Fri May 06 11:29:57 2011 -0500 |
tree | 65fb215a49b142be8521c5af99e0e8f75bd19d44 | |
parent | 5d1e32b2fbae74e6f9e1ab2bdb6a3635579ef13e [diff] |
Fixed a regression where a PHP error could occur when using some methods.
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index 508f6be..83d4816 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php
@@ -204,6 +204,7 @@ $sql = $type.'('.$this->_protect_identifiers(trim($select)).') AS '.$alias; $this->ar_select[] = $sql; + $this->ar_no_escape[] = NULL; if ($this->ar_caching === TRUE) {