summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-27 16:03:06 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-27 16:03:06 +0100
commit1a704ceb6712b7f27402f4806f3894f48564e131 (patch)
tree5e49d545e576a253af86eefd9fecb651a52143d4
parentb52bdc4e9e1b21ddfd0ff3231e09042258cb1399 (diff)
fixed an overwritten parameter in protect_identifiers
-rw-r--r--system/database/DB_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index dbd54bebe..966fd3ad5 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -652,7 +652,7 @@ class CI_DB_driver {
*/
function protect_identifiers($item, $first_word_only = FALSE)
{
- return $this->_protect_identifiers($item, $first_word_only = FALSE);
+ return $this->_protect_identifiers($item, $first_word_only);
}
// --------------------------------------------------------------------
@@ -1136,7 +1136,7 @@ class CI_DB_driver {
$LANG = new CI_Language();
$LANG->load('db');
- $heading = 'MySQL Error';
+ $heading = 'Database Error';
if ($native == TRUE)
{