[freeside-commits] branch FREESIDE_3_BRANCH updated. beeaed152f7b8d6e663176abfe53a2fa058657e2

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


The branch, FREESIDE_3_BRANCH has been updated
       via  beeaed152f7b8d6e663176abfe53a2fa058657e2 (commit)
      from  e7624ae1dd0093e4afef2356500fbd033ea43da8 (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 beeaed152f7b8d6e663176abfe53a2fa058657e2
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Fri Nov 15 13:42:37 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 cb8c3b2..938ed4f 100644
--- a/httemplate/edit/elements/edit.html
+++ b/httemplate/edit/elements/edit.html
@@ -519,7 +519,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