Skip to content
Snippets Groups Projects
Commit 91aaa9c2 authored by Lionel Walter's avatar Lionel Walter Committed by Robert Lange
Browse files

Avoid Array to String Conversion in Aleph driver (#1540)

parent 18f55bb3
No related merge requests found
......@@ -1076,7 +1076,7 @@ class Aleph extends AbstractBase implements \Zend\Log\LoggerAwareInterface,
],
null, 'POST', null
);
$due = (string)$xml->xpath('//new-due-date');
$due = (string)current($xml->xpath('//new-due-date'));
$result[$id] = [
'success' => true, 'new_date' => $this->parseDate($due)
];
......
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