bug fix in DB.pm
Merge pull request #26 from ispiridonov/master

bug fix in DB.pm