aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index ef6f2338c5..bf2d3a1c70 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -2188,7 +2188,7 @@ function sql_column_remove($dbms, $table_name, $column_name)
foreach ($old_table_cols as $declaration)
{
$entities = preg_split('#\s+#', trim($declaration));
- if ($entities[0] == 'PRIMARY' || $entities[0] === '$column_name')
+ if ($entities[0] == 'PRIMARY' || $entities[0] === $column_name)
{
continue;
}