Issue #939880 by amateescu, marcingy: Fixed Poll Module throws PDOException when creating poll content.