diff --git a/system/Database/SQLSRV/Forge.php b/system/Database/SQLSRV/Forge.php index e841ac893db3..096d6fe23677 100755 --- a/system/Database/SQLSRV/Forge.php +++ b/system/Database/SQLSRV/Forge.php @@ -250,8 +250,6 @@ protected function _processIndexes(string $table) $sqls = []; for ($i = 0, $c = count($this->keys); $i < $c; $i++) { - $this->keys[$i]['fields'] = (array) $this->keys[$i]['fields']; - for ($i2 = 0, $c2 = count($this->keys[$i]['fields']); $i2 < $c2; $i2++) { if (! isset($this->fields[$this->keys[$i]['fields'][$i2]])) { unset($this->keys[$i]['fields'][$i2]);