Skip to content
Snippets Groups Projects
Commit 88d8d852 authored by Patrick Barroca's avatar Patrick Barroca :grin:
Browse files

Merge branch 'hotline#99328_mauvaise_information_donnee_aux_usagers' into 'hotline'

hotline #99328 : Nanook 4.1.18 compatibility

See merge request !3287
parents 28b248d2 5f322777
Branches
Tags
3 merge requests!3297WIP: Master,!3289Hotline,!3287hotline #99328 : Nanook 4.1.18 compatibility
Pipeline #8577 passed with stage
in 1 hour, 22 minutes, and 15 seconds
- ticket #99328 : SIGB Nanook : Compatibilité version 4.1.18 de Nanook
\ No newline at end of file
......@@ -55,6 +55,9 @@ class Class_WebService_SIGB_Nanook_PatronInfoReader extends Class_WebService_SIG
* @param $data string
*/
public function endEndDate($data) {
if ($this->_xml_parser->inParents('subscriptions'))
return;
if ($data && 'null' != $data)
$this->getEmprunteur()->setEndDate($data);
}
......
......@@ -275,6 +275,13 @@ class NanookFixtures {
<comment>Tittre :Alzheimer mon amour Auteur : Cécile HUGUENIN</comment>
</suggest>
</suggests>
<subscriptions>
<subscriptions>
<rateId>958</rateId>
<startDate>2011-10-25</startDate>
<endDate>2011-11-25</endDate>
</subscriptions>
</subscriptions>
</GetPatronInfo>';
}
......@@ -349,6 +356,13 @@ class NanookFixtures {
<locationLabel>Site Principal</locationLabel>
</hold>
</holds>
<subscriptions>
<subscriptions>
<rateId>958</rateId>
<startDate>2011-10-25</startDate>
<endDate>2011-11-25</endDate>
</subscriptions>
</subscriptions>
</GetPatronInfo>';
}
......
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