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

Correction affichage libellé prêt si non défini

parent 8e356d57
Branches
Tags
No related merge requests found
......@@ -251,9 +251,12 @@ class Class_WebService_SIGB_Exemplaire {
public function getLibelleDispoEnPret() {
$tmp=Class_Profil::getCurrentProfil()->getCfgNoticeAsArray();
if (!$tmp = Class_Profil::getCurrentProfil()->getCfgNoticeAsArray())
return self::DISPO_EN_PRET;
if (array_isset("en_pret", $tmp["exemplaires"]))
return $tmp["exemplaires"]["en_pret"];
return self::DISPO_EN_PRET;
}
......
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