Skip to content
Snippets Groups Projects
Commit ef3136c8 authored by Daniel Berthereau's avatar Daniel Berthereau
Browse files

Cleaned code.

parent 5b23b580
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,7 @@ abstract class AbstractOaiSet extends AbstractXmlGenerator implements OaiSetInte
return;
}
$set = null;
if ((integer) $setSpec) {
if ((int) $setSpec) {
try {
$set = $this->api->read('item_sets', ['id' => $setSpec])->getContent();
} catch (\Omeka\Api\Exception\NotFoundException $e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment