Issue #1218814 by swentel, pixelmord, andypost, franz: PDOException because of incorrect validation of number fields