This commit is contained in:
Josh 2026-02-03 19:58:05 -01:00 committed by GitHub
commit 34c739284f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,9 +38,9 @@ class PgSqlTools {
/** @var string|AbstractAsset $asset */
$filterExpression = '/^' . preg_quote($this->config->getSystemValueString('dbtableprefix', 'oc_')) . '/';
if ($asset instanceof AbstractAsset) {
return preg_match($filterExpression, $asset->getName()) !== false;
return preg_match($filterExpression, $asset->getName()) === 1;
}
return preg_match($filterExpression, $asset) !== false;
return preg_match($filterExpression, $asset) === 1;
});
foreach ($conn->createSchemaManager()->listSequences() as $sequence) {