Skip to content
Snippets Groups Projects
Commit 1684b848 authored by Demian Katz's avatar Demian Katz
Browse files

Fixed weird array formatting.

parent 0d0f9792
No related merge requests found
......@@ -287,15 +287,15 @@ class LBS4 extends DAIA implements TranslatorAwareInterface
$sqlStmt = sybase_query($sql);
while ($row = sybase_fetch_row($sqlStmt)) {
$result[$count] = [
'id' => $row[0]
,'duedate' => substr($row[13], 0, 12)
,'barcode' => $row[31]
,'renew' => $row[7]
,'publication_year' => $row[45]
,'renewable' => $row[61]
,'message' => $row[60]
,'title' => $this->picaRecode($row[44])
,'item_id' => $row[7]
'id' => $row[0],
'duedate' => substr($row[13], 0, 12),
'barcode' => $row[31],
'renew' => $row[7],
'publication_year' => $row[45],
'renewable' => $row[61],
'message' => $row[60],
'title' => $this->picaRecode($row[44]),
'item_id' => $row[7]
];
$count++;
}
......
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