Skip to content

Commit

Permalink
Fix getting table name
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Coder264 committed Apr 16, 2024
1 parent 6b26b6d commit 03507fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AuditConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getTableName(ClassMetadataInfo $metadata)
{
$tableName = $metadata->getTableName();

if (null !== $metadata->getSchemaName()) {
if (null !== $metadata->getSchemaName() && '' !== $metadata->getSchemaName()) {
$tableName = $metadata->getSchemaName().'.'.$tableName;
}

Expand Down

0 comments on commit 03507fc

Please sign in to comment.