Skip to content
Snippets Groups Projects
Commit 2e386012 authored by Joe Montibello's avatar Joe Montibello
Browse files

initialize $number

The uninitialized variable was causing an error message.
parent 2e3221cd
No related merge requests found
...@@ -494,6 +494,7 @@ class Sierra extends AbstractBase implements TranslatorAwareInterface ...@@ -494,6 +494,7 @@ class Sierra extends AbstractBase implements TranslatorAwareInterface
foreach ($itemIds as $item) { foreach ($itemIds as $item) {
$callnumber = null; $callnumber = null;
$results1 = pg_execute($this->db, "prep_query", [$item]); $results1 = pg_execute($this->db, "prep_query", [$item]);
$number = "";
while ($row1 = pg_fetch_row($results1)) { while ($row1 = pg_fetch_row($results1)) {
if ($row1[4] == "b") { if ($row1[4] == "b") {
$barcode = $row1[3]; $barcode = $row1[3];
......
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