civicrm/civicrm-core — pull request #4617 by ejegg (2014-11-26 17:51:11+00:00)
Title: Allow falsy values as custom field db defaults

Use if isset($field->default_value) instead of just
if ($field->default_value) so we can set a custom field database
column's default to zero.