Merge branch '3.3.x'

This commit is contained in:
Marc Alexander 2021-04-26 22:05:54 +02:00
commit 7201acf070
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -362,9 +362,10 @@ class migrator
$depend = $this->get_valid_name($depend);
// Test all possible namings before throwing exception
if ($this->unfulfillable($depend) !== false)
$missing = $this->unfulfillable($depend);
if ($missing !== false)
{
throw new \phpbb\db\migration\exception('MIGRATION_NOT_FULFILLABLE', $name, $depend);
throw new \phpbb\db\migration\exception('MIGRATION_NOT_FULFILLABLE', $name, $missing);
}
if (!isset($this->migration_state[$depend]) ||