Commit 27c18830 authored by Val Curwen's avatar Val Curwen
Browse files

Fix to remove() - use self->_tables rather than self->_tablename

parent 9ecf1ca1
......@@ -526,7 +526,8 @@ sub remove {
"feature could not be removed");
my $table = $self->_tablename();
my @tabs = $self->_tables;
my ($table) = @{$tabs[0]};
my $sth = $self->prepare("DELETE FROM $table WHERE ${table}_id = ?");
Markdown is supported
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