From 1cd997a3ab7edc02c557abcb2e5fcb05d5dd5144 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Fri, 17 Oct 2008 07:13:21 +0000 Subject: Added backticks to field names --- system/database/drivers/mysql/mysql_utility.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/database/drivers/mysql') 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++; } -- cgit v1.2.3-24-g4f1b