Browse files

BUGFIX: Updated MySQLDatabase::indexList() to return index columns es…

…caped by double quotes
  • Loading branch information...
1 parent 80941ef commit a1e7c1f9bf606ba7f5e763ce53e35db46ca6b802 @sminnee sminnee committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 model/MySQLDatabase.php
View
2 model/MySQLDatabase.php
@@ -526,7 +526,7 @@ public function indexList($table) {
if($groupedIndexes) {
foreach($groupedIndexes as $index => $details) {
ksort($details['fields']);
- $indexList[$index] = $details['type'] . '(' . implode(',',$details['fields']) . ')';
+ $indexList[$index] = $details['type'] . '("' . implode('","',$details['fields']) . '")';
}
}

0 comments on commit a1e7c1f

Please sign in to comment.