daveWid/cactus — pull request #2 by lordoffreaks (2013-02-05 14:50:24+00:00)
Title: Support for NULL fields in Reverter Class

Sometime I need to send NULL values into $items array to database, and currently it gives me:

Catchable fatal error: Argument 1 passed to Cactus\Reverter::dateTime() must be an instance of DateTime, boolean given

Just checking there is an actual value into $value will solve it