Skip to content
Snippets Groups Projects
Verified Commit cbd60368 authored by Florian Azizian's avatar Florian Azizian
Browse files

FEAT #15049 TIME 0:04 improve condition

parent fe3c0eec
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ trait ExportSEDATrait ...@@ -46,7 +46,7 @@ trait ExportSEDATrait
return ['errors' => ['resource does not exists']]; return ['errors' => ['resource does not exists']];
} elseif (empty($resource['destination'])) { } elseif (empty($resource['destination'])) {
return ['errors' => ['resource has no destination']]; return ['errors' => ['resource has no destination']];
} elseif (empty($resource['retention_frozen'])) { } elseif ($resource['retention_frozen']) {
return ['errors' => ['retention rule is frozen']]; return ['errors' => ['retention rule is frozen']];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment