mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +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)
|
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);
|
$this->auto_http_code(true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue