sammarks / ablecore

A library for Drupal developers.
MIT License
5 stars 4 forks source link

Update Crud class to throw exception when a primary key couldn't be found. #5

Closed sammarks closed 10 years ago

sammarks commented 10 years ago

Currently, it throws a PDO exception because it's trying to do a conditional on an empty field. Implementing an error message here will make it much easier to diagnose the problem.