case "bool": $regexp = "/^[yes|no|0|1|true|false]$/i"; break; Located in dbObject Line no.657 it must replace [ ] to be ( ) to work correctly