mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17056] Fix PHP 8.2 deprecation warning about ${var} syntax
The "${var}" style of string interpolation is deprecated in PHP 8.2, using "{$var}" syntax instead. PHPBB3-17056
This commit is contained in:
@@ -275,7 +275,7 @@ class tools implements tools_interface
|
||||
|
||||
if (isset($prepared_column['auto_increment']) && $prepared_column['auto_increment'] && strlen($column_name) > 26) // "${column_name}_gen"
|
||||
{
|
||||
trigger_error("Index name '${column_name}_gen' on table '$table_name' is too long. The maximum auto increment column length is 26 characters.", E_USER_ERROR);
|
||||
trigger_error("Index name '{$column_name}_gen' on table '$table_name' is too long. The maximum auto increment column length is 26 characters.", E_USER_ERROR);
|
||||
}
|
||||
|
||||
// here we add the definition of the new column to the list of columns
|
||||
|
Reference in New Issue
Block a user