Skip to content
Snippets Groups Projects
Commit 28dcd596 authored by gloas's avatar gloas
Browse files

Correction webservice opsys nb_resa

parent f0d37d06
Branches
Tags
No related merge requests found
......@@ -81,7 +81,7 @@ class ZendAfi_View_Helper_Notice_Exemplaires extends Zend_View_Helper_HtmlElemen
if($ex["dispo"] == Class_WebService_SIGB_Exemplaire::DISPO_LIBRE){
$class_dispo = 'disponible';
}
if ($nb_resa=$ex['nb_resa']>0)
if ( isset($ex['nb_resa']) && $nb_resa=$ex['nb_resa']>0)
$ex['dispo'].=' '.$this->view->_plural($nb_resa,'','%s réservation','%s réservations',$nb_resa).' en cours';
$html.='<td class="dispo '.$class_dispo.'">'.$ex["dispo"].'</td>';
}
......
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