diff --git a/model/Database.php b/model/Database.php index 96c9c424d..8d41b6a73 100644 --- a/model/Database.php +++ b/model/Database.php @@ -391,7 +391,7 @@ abstract class SS_Database { //DB Abstraction: remove this ===true option as a possibility? if($spec === true) { - $spec = "($index)"; + $spec = "(\"$index\")"; } //Indexes specified as arrays cannot be checked with this line: (it flattens out the array)