[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 89cea41d2bd7887a5b6b067ea5fb3f7bfa3b1a26

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


The branch, FREESIDE_2_3_BRANCH has been updated
       via  89cea41d2bd7887a5b6b067ea5fb3f7bfa3b1a26 (commit)
      from  5d5987eb63dfb29f35e974feefdbf324a294d483 (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 89cea41d2bd7887a5b6b067ea5fb3f7bfa3b1a26
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Nov 15 13:42:38 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 1105530..4159f04 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -493,7 +493,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