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

Correction variable non initialisée prolongations pergame

parent fc23fe48
Branches
Tags
No related merge requests found
......@@ -47,7 +47,8 @@ class Class_WebService_SIGB_Pergame_Service extends Class_WebService_SIGB_Abstra
public function getEmpruntsOf($emprunteur)
{
$params = Class_IntBib::getLoader()->find($this->_id_bib)->getCommParamsAsArray();
$renouvelable=$params['Autoriser_prolongations'];
$renouvelable = isset($params['Autoriser_prolongations']) ? $params['Autoriser_prolongations'] : false;
$user = Class_Users::getLoader()->find($emprunteur->getId());
$prets = Class_Pret::getLoader()->findAllBy(array('IDABON' => $user->getIdabon(),
'ORDREABON' => $user->getOrdreabon(),
......
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