Bug 5203 - Creating a label template causes fatal error if description field is empty
authorChris Nighswonger <cnighswonger@foundations.edu>
Thu, 23 Sep 2010 17:52:40 +0000 (13:52 -0400)
committerChris Nighswonger <cnighswonger@foundations.edu>
Thu, 23 Sep 2010 17:52:40 +0000 (13:52 -0400)
commitb8d5a69e4e145f6684507b62267759f1ea465e80
treee62f3a7c9e4d285a645df47c46a2306c3069f854
parente58961f689422aa1d5ed4518820481b16d62cb4a
Bug 5203 - Creating a label template causes fatal error if description field is empty

This is due to the underlying script not having any defaults hard coded which results
in skewed hash elements when the parameter array is coerced into a hash at a later point.

This also occurs in layouts and profiles. This patch adds defaults to all three.

No documentation changes are necessary.
labels/label-edit-layout.pl
labels/label-edit-profile.pl
labels/label-edit-template.pl