diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-17 09:13:21 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2008-10-17 09:13:21 +0200 |
commit | 1cd997a3ab7edc02c557abcb2e5fcb05d5dd5144 (patch) | |
tree | 0003a862bd40d6de2790a74bcc6003c1a5531182 /system/database/drivers/mysql | |
parent | 54d3ed6f0ebd943f9e689a2d1d6026e203913022 (diff) |
Added backticks to field names
Diffstat (limited to 'system/database/drivers/mysql')
-rw-r--r-- | system/database/drivers/mysql/mysql_utility.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/mysql/mysql_utility.php b/system/database/drivers/mysql/mysql_utility.php index 62a77b711..d2c10dbb2 100644 --- a/system/database/drivers/mysql/mysql_utility.php +++ b/system/database/drivers/mysql/mysql_utility.php @@ -153,7 +153,7 @@ class CI_DB_mysql_utility extends CI_DB_utility { ) ? TRUE : FALSE;
// Create a string of field names
- $field_str .= $field->name.', ';
+ $field_str .= '`'.$field->name.'`, ';
$i++;
}
|