mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
Fixed a typo
This commit is contained in:
@@ -1519,7 +1519,7 @@ class API_V1_adapter extends API_V1_Abstract
|
|||||||
|
|
||||||
$feed = $app['EM']->getRepository('Entities\Feed')->find($publication_id);
|
$feed = $app['EM']->getRepository('Entities\Feed')->find($publication_id);
|
||||||
if (!$feed->isAccessible($app['authentication']->getUser(), $this->app)) {
|
if (!$feed->isAccessible($app['authentication']->getUser(), $this->app)) {
|
||||||
return $result->set_datas(array())
|
return $result->set_datas(array());
|
||||||
}
|
}
|
||||||
$offset_start = (int) ($request->get('offset_start') ? : 0);
|
$offset_start = (int) ($request->get('offset_start') ? : 0);
|
||||||
$per_page = (int) ($request->get('per_page') ? : 5);
|
$per_page = (int) ($request->get('per_page') ? : 5);
|
||||||
|
Reference in New Issue
Block a user