aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/migrator.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/db/migrator.php')
-rw-r--r--phpBB/phpbb/db/migrator.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php
index d84635f33d..30eafcc470 100644
--- a/phpBB/phpbb/db/migrator.php
+++ b/phpBB/phpbb/db/migrator.php
@@ -212,12 +212,12 @@ class migrator
// Try falling back to a valid migration name with or without leading backslash
if (!isset($this->migration_state[$name]))
{
- $appended_name = preg_replace('#^(?!\\\)#', '\\\$0', $name);
+ $prepended_name = preg_replace('#^(?!\\\)#', '\\\$0', $name);
$prefixless_name = preg_replace('#(^\\\)([^\\\].+)#', '$2', $name);
- if (isset($this->migration_state[$appended_name]))
+ if (isset($this->migration_state[$prepended_name]))
{
- $name = $appended_name;
+ $name = $prepended_name;
}
else if (isset($this->migration_state[$prefixless_name]))
{