Skip to content
Snippets Groups Projects
Commit 9ddc9430 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Typo in _type_by_external_name was causing all fetch_by_external_name to fail!

parent 858c4e5d
No related branches found
No related tags found
No related merge requests found
......@@ -894,7 +894,7 @@ sub _type_by_external_id{
foreach( @queries ) {
my $sth = $self->prepare( $_ );
$sth->bind_param(1,"$name",SQL_VARCHAR);
$sth->bind_param(1,$ensType,SQL_VARCHAR);
$sth->bind_param(2,$ensType,SQL_VARCHAR);
$sth->execute();
while( my $r = $sth->fetchrow_array() ) {
if( !exists $hash{$r} ) {
......
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