From c5628ee893d9f6af26bc53d88aa17dc36326d431 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Sun, 28 Jul 2019 00:00:54 +0900 Subject: [PATCH] Fix inconsistent variable name $after_column --- classes/db/DBMysql.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/db/DBMysql.class.php b/classes/db/DBMysql.class.php index ac6a978a6..3e8413d87 100644 --- a/classes/db/DBMysql.class.php +++ b/classes/db/DBMysql.class.php @@ -467,7 +467,7 @@ class DBMySQL extends DB * @param boolean $notnull not null status, default value is false * @return void */ - function addColumn($table_name, $column_name, $type = 'number', $size = '', $default = null, $notnull = false, $after = null) + function addColumn($table_name, $column_name, $type = 'number', $size = '', $default = null, $notnull = false, $after_column = null) { $type = strtolower($type); $type = isset($this->column_type[$type]) ? $this->column_type[$type] : $type;