mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 17:06:28 +02:00
fix next instead of prev
This commit is contained in:
parent
903a8d3770
commit
9d1bbc4356
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ namespace controllers\publics;
|
|||
|
||||
if ($page > 0)
|
||||
{
|
||||
$return['next'] = \descartes\Router::url('Api', __FUNCTION__, ['entry_type' => $entry_type, 'page' => $page - 1], ['api_key' => $this->user['api_key']]);
|
||||
$return['prev'] = \descartes\Router::url('Api', __FUNCTION__, ['entry_type' => $entry_type, 'page' => $page - 1], ['api_key' => $this->user['api_key']]);
|
||||
}
|
||||
|
||||
$this->auto_http_code(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue