[Bps-public-commit] rt-extension-formtools branch, enabled-by-select, updated. 0.07_07-24-gc2bb586

Thomas Sibley trs at bestpractical.com
Thu Jun 7 18:08:48 EDT 2012


The branch, enabled-by-select has been updated
       via  c2bb5866696486d6d447994992acae38a227fc2c (commit)
      from  83caf71371f98bfbb836561880711bd758407666 (commit)

Summary of changes:
 html/FormTools/Field |    2 ++
 1 file changed, 2 insertions(+)

- Log -----------------------------------------------------------------
commit c2bb5866696486d6d447994992acae38a227fc2c
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Jun 7 18:08:43 2012 -0400

    Avoid undef warnings without having to specify the empty string as the default everywhere

diff --git a/html/FormTools/Field b/html/FormTools/Field
index 5cf64b5..6e6a2ee 100644
--- a/html/FormTools/Field
+++ b/html/FormTools/Field
@@ -75,6 +75,8 @@ unless ( $default ) {
     }
 }
 
+$default = '' unless defined $default;
+
 </%init>
 
 % if ( @$enabled_by ) {

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list