Commit dbdb5695 authored by Leo Gordon's avatar Leo Gordon
Browse files

only finish if sth was defined

parent 2e2f29e5
......@@ -316,7 +316,7 @@ sub store {
}
}
$sth->finish();
$sth && $sth->finish();
return $object_or_list;
}
......
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