Fixed type error in sql statement
Merge pull request #11 from RoyalKnight/master

Fixed type error in sql statement