29 Apr
2008
29 Apr
'08
7:18 p.m.
User: jpetso Branch: HEAD Date: Tue, 29 Apr 2008 17:18:58 +0000 Modified files: /modules/duration duration.module Log message: * Add a 'default' database value to both columns. * Don't consider a zero duration empty, as 0 seconds might actually be used for something. So content_is_empty() only returns TRUE for fields that haven't been initialized at all yet, and the 'required' checkbox in the field settings still requires values >= 0. (For the duration_combo widget, there is at the moment no possibility to specify an empty duration.) Links: http://cvs.drupal.org/diff.php?path=contributions/modules/duration/duration....