Skip to content
Snippets Groups Projects
Commit 254ce79e authored by llaffont's avatar llaffont
Browse files

Compatibilite PHP54

parent 54e2e79f
Branches
Tags
No related merge requests found
......@@ -85,7 +85,7 @@ class BibNumeriqueController extends Zend_Controller_Action {
$json_ressource->description = $ressource->getDescription();
$params = $thumbnail_params[$right_or_left];
$params['id'] = $ressource->getId();
$params['id'] = (int)$ressource->getId();
if ($ressource->isThumbnailExistsForParams($params))
$json_ressource->thumbnail = $ressource->getThumbnailUrlForParams($params);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment