[freeside-commits] branch master updated. 9c8370e960bea77063028ce488fde8b6bb47b53c

Ivan ivan at 420.am
Tue Mar 6 13:11:39 PST 2012


The branch, master has been updated
       via  9c8370e960bea77063028ce488fde8b6bb47b53c (commit)
      from  1f816fc11f47f9d100d0fba04362de0623577b1c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9c8370e960bea77063028ce488fde8b6bb47b53c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Tue Mar 6 13:11:37 2012 -0800

    fix bare "m" getting inserted as an age, causes event browse to error out, incidental to RT#16831

diff --git a/httemplate/edit/process/part_event.html b/httemplate/edit/process/part_event.html
index d4d4526..a8c434c 100644
--- a/httemplate/edit/process/part_event.html
+++ b/httemplate/edit/process/part_event.html
@@ -39,6 +39,7 @@
                                                  split(/\0/, $value)
                                            };
                                 } elsif ( $info->{'type'} eq 'freq' ) {
+                                  $value = '0' if !length($value);
                                   $value .= $params->{$cgi_field.'_units'};
                                 }
 

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

Summary of changes:
 httemplate/edit/process/part_event.html |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list