summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/mysql/mysql_driver.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-08-21 14:43:31 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-08-21 14:43:31 +0200
commit993925b47a0bfb08e79961c47bcc3d247a03a5dd (patch)
tree4012e1f02407efb333a20c67e5d7d1cac8249b9f /system/database/drivers/mysql/mysql_driver.php
parent719b65d54a85337c5616a781eff07d5031c106e9 (diff)
whitespace fixes
a minor re-ordering of the changelog
Diffstat (limited to 'system/database/drivers/mysql/mysql_driver.php')
-rw-r--r--system/database/drivers/mysql/mysql_driver.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/database/drivers/mysql/mysql_driver.php b/system/database/drivers/mysql/mysql_driver.php
index 8df6c1b70..889ea17fb 100644
--- a/system/database/drivers/mysql/mysql_driver.php
+++ b/system/database/drivers/mysql/mysql_driver.php
@@ -246,15 +246,15 @@ class CI_DB_mysql_driver extends CI_DB {
function escape_str($str)
{
if (is_array($str))
- {
- foreach($str as $key => $val)
- {
- $str[$key] = $this->escape_str($val);
- }
-
- return $str;
- }
-
+ {
+ foreach($str as $key => $val)
+ {
+ $str[$key] = $this->escape_str($val);
+ }
+
+ return $str;
+ }
+
if (function_exists('mysql_real_escape_string') AND is_resource($this->conn_id))
{
return mysql_real_escape_string($str, $this->conn_id);