/[Frey]/trunk/lib/Frey/Action.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Action.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 782 by dpavlin, Tue Dec 9 20:31:42 2008 UTC revision 783 by dpavlin, Tue Dec 9 20:31:43 2008 UTC
# Line 194  sub params_form { Line 194  sub params_form {
194                          $attr->has_default        ? $attr->default( $name ) :                          $attr->has_default        ? $attr->default( $name ) :
195                          '';                          '';
196    
197                  if ( ref($params_config) eq 'HASH' ) {                  if ( ref($params_config) eq 'HASH' && defined $params_config->{$name} ) {
198                          $value = $params_config->{$name};                          $value = $params_config->{$name};
199                  } elsif ( ref($params_config) eq 'ARRAY' ) {                  } elsif ( ref($params_config) eq 'ARRAY' ) {
200                          $value_html = select_values( $name, $attr_type, $params_config );                          $value_html = select_values( $name, $attr_type, $params_config );

Legend:
Removed from v.782  
changed lines
  Added in v.783

  ViewVC Help
Powered by ViewVC 1.1.26