Fix #1985
diff --git a/system/database/drivers/mysqli/mysqli_forge.php b/system/database/drivers/mysqli/mysqli_forge.php
index 088a6a0..294fc20 100644
--- a/system/database/drivers/mysqli/mysqli_forge.php
+++ b/system/database/drivers/mysqli/mysqli_forge.php
@@ -118,10 +118,10 @@
 				}
 				else
 				{
-					$field[$i]['_literal'] = empty($field['new_name']) ? "\n\tMODIFY " : "\n\tCHANGE ";
+					$field[$i]['_literal'] = empty($field[$i]['new_name']) ? "\n\tMODIFY " : "\n\tCHANGE ";
 				}
 
-				$field[$i] = $field['_literal'].$this->_process_column($field[$i]);
+				$field[$i] = $field[$i]['_literal'].$this->_process_column($field[$i]);
 			}
 		}