removing double up of quotes in getIndexSqlDefinition()

This commit is contained in:
Sean Harvey 2013-01-07 17:40:30 +13:00
parent d6a075f9c7
commit bd18c0a1f3

View File

@ -843,7 +843,7 @@ class MSSQLDatabase extends SS_Database {
if(!is_array($indexSpec)) {
$indexSpec=trim($indexSpec, '()');
return "$drop CREATE INDEX $index ON \"" . $tableName . "\" (" . $indexSpec . ");";
return "$drop CREATE INDEX $index ON \"" . $tableName . "\" ($indexSpec);";
} else {
// create a type-specific index
if($indexSpec['type'] == 'fulltext') {