I've added a optional duration field to my content type. But with no entered duration (set all values to 0) the result field is displayed anyway as 0 seconds. I wanted this field be hidden as other fields with no entered value. So I've created a patch which accomplishes this issue.

CommentFileSizeAuthor
duration.diff1.56 KBluusl

Comments

spacer’s picture

Thanks - I was about to do the same thing, but found your post and applied the changes to the module code. Seems to work just fine.

derekwebb1’s picture

Thanks for the patch! Seems to do what it needs to.