chore: Allow 0 items on XML export file.

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2022-06-20 08:31:26 +02:00
parent 9e92093f0e
commit ffae1d9426
7 changed files with 39 additions and 20 deletions

View File

@@ -63,7 +63,7 @@ final class XmlExportController extends SimpleControllerBase
/**
* @return bool
* @throws \JsonException
* @throws \SP\Core\Exceptions\SPException
*/
public function xmlExportAction(): bool
{
@@ -132,8 +132,8 @@ final class XmlExportController extends SimpleControllerBase
/**
* initialize
*
* @throws SessionTimeout
* @throws \JsonException
* @throws \SP\Core\Exceptions\SPException
* @throws \SP\Core\Exceptions\SessionTimeout
*/
protected function initialize(): void
{