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