diff --git a/src/applications/diffusion/query/DiffusionCommitQuery.php b/src/applications/diffusion/query/DiffusionCommitQuery.php index e1bec46441..18b2dbacde 100644 --- a/src/applications/diffusion/query/DiffusionCommitQuery.php +++ b/src/applications/diffusion/query/DiffusionCommitQuery.php @@ -252,7 +252,7 @@ final class DiffusionCommitQuery $table->getTableName()); } - if (!$subqueries) { + if (!$subqueries && $empty_exception) { throw $empty_exception; }