Skip to content

Commit

Permalink
fix for multiple values not properly storing due to HTML error in form
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Aug 13, 2012
1 parent 4e09d30 commit d526541
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -83,7 +83,7 @@
$type = $field->type;

//create the form field
$name = ( $item->multiple ) ? $field->name . "[$i]" : $field->name;
$name = ( $item->multiple ) ? $field->name . '[]' : $field->name;
$form_field = Form::$type( $name )->setLabel( $field->label );

//loop through options, if need be
Expand Down
4 changes: 3 additions & 1 deletion readme.md
Expand Up @@ -55,12 +55,14 @@ Changelog
* Better PHP 5.4 compatability (removed calltime pass by reference)
* Added option to write generated file to web server for easier programatic access (props [Bill Severe](https://github.com/bsevere))
* Auto-import and propegation of generated values if report directory is set in config file (props [Bill Severe](https://github.com/bsevere))
* Uses PHP's default temporary directory, rather than the `tmp/` folder within the project to generate files, simplifying installation and improving portability (props [Bill Severe](https://github.com/bsevere))
* Fix for generated filename to better conform to schema (`digital-strategy` -> `digitalstrategy`) (props [Bill Severe](https://github.com/bsevere))
* Uses PHP's default temporary directory, rather than the `tmp/` folder within the project to generate files, simplifying installation and improving portability
* Moved configuration to separate file to simplifying customization
* Better sorting of agencies and action items in datafiles and in the generator (props [Bill Severe](https://github.com/bsevere))
* Abilitity to bypass GitHub service and local cache to force generation of fresh datafiles
* Clarified requirements, installation instructions, and usage as a service
* Corrected typos in readme (props [Bill Severe](https://github.com/bsevere))
* Fix for multiple values not being properly propegated into generated file in some circumstances (thanks to John Bent for reporting)

License
-------
Expand Down

0 comments on commit d526541

Please sign in to comment.