Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure db prefix / suffix is consistently applied
Modifies the db_get_table() and plugin_table() functions to ensure that we build a correct table name based on the user's config settings, e.g. - trim leading/trailing whitespace - do not add underscores if already present Fixes #17355, regression issue introduced by commit 5a84e9d where plugin_table() no longer inserts an underscore after $g_db_table_plugin_prefix
- Loading branch information
Showing
2 changed files
with
16 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters