[freeside-commits] branch master updated. 45f3aff8abf141f785882be779ad52c23f600e6c

Ivan ivan at 420.am
Fri Nov 15 13:42:37 PST 2013


The branch, master has been updated
       via  45f3aff8abf141f785882be779ad52c23f600e6c (commit)
      from  52606e395e99306e584e5ae459375a33752c231e (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 45f3aff8abf141f785882be779ad52c23f600e6c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Nov 15 13:42:36 2013 -0800

    fix reported but unreproducible "infinite loop", RT#26101

diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html
index 6c96532..9e27f2a 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -527,7 +527,7 @@ Example:
 %     if ( $f->{curr_value_callback} ) {
 %       $curr_value = &{ $f->{curr_value_callback} }( $cgi, $object, $field ),
 %     } else {
-%       $curr_value = $object->$field();
+%       $curr_value = $object->$field() if $field;
 %     }
 %     $curr_value = &{ $opt{'value_callback'} }( $f->{'field'}, $curr_value )
 %       if $opt{'value_callback'} && $mode ne 'error';

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

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




More information about the freeside-commits mailing list