fixed reference to branchrelations.categorycode
Previous patch had referred to column as category_id, which is incorrect. Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
f8f8a3c7bf
commit
80942a3031
|
|
@ -111,7 +111,7 @@ sub GetBranches {
|
|||
while ( my $branch = $sth->fetchrow_hashref ) {
|
||||
my $nsth =
|
||||
$dbh->prepare(
|
||||
"SELECT category_id FROM branchrelations WHERE branchcode = ?");
|
||||
"SELECT categorycode FROM branchrelations WHERE branchcode = ?");
|
||||
$nsth->execute( $branch->{'branchcode'} );
|
||||
while ( my ($cat) = $nsth->fetchrow_array ) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue