returns empty list if there are not images
This commit is contained in:
parent
8f7ee3fec1
commit
79095de5ca
|
@ -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()
|
||||
));
|
||||
|
||||
?>
|
Loading…
Reference in New Issue