returns empty list if there are not images

This commit is contained in:
Diego Najar 2019-01-30 23:27:19 +01:00
parent 8f7ee3fec1
commit 79095de5ca
1 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,9 @@ if (isset($listOfFilesByPage[$pageNumber])) {
)); ));
} }
ajaxResponse(1, 'Chunks out of index'); ajaxResponse(0, 'List of files and number of chunks.', array(
'numberOfPages'=>0,
'files'=>array()
));
?> ?>