Skip to content
This repository
Browse code

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

…caped by double quotes
  • Loading branch information...
commit a1e7c1f9bf606ba7f5e763ce53e35db46ca6b802 1 parent 80941ef
Sam Minnée authored June 15, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  model/MySQLDatabase.php
2  model/MySQLDatabase.php
@@ -526,7 +526,7 @@ public function indexList($table) {
526 526
 		if($groupedIndexes) {
527 527
 			foreach($groupedIndexes as $index => $details) {
528 528
 				ksort($details['fields']);
529  
-				$indexList[$index] = $details['type'] . '(' . implode(',',$details['fields']) . ')';
  529
+				$indexList[$index] = $details['type'] . '("' . implode('","',$details['fields']) . '")';
530 530
 			}
531 531
 		}
532 532
 

0 notes on commit a1e7c1f

Please sign in to comment.
Something went wrong with that request. Please try again.