toopay/gas-orm — pull request #16 by mecharius (2012-04-01 19:55:08+00:00)
Title: Crash where "pdodriver" not defined in config

Hi Toopay,
In the new config files pdodriver is not necessarily set, this gives an error when saving. See http://codeigniter.com/forums/viewthread/213348/P60/#992337

I've added a check for isset(static::$db->pdodriver) which fixes this issue for me.

Thanks - keep up the good work!