Skip to content

Commit de5653f

Browse files
committed
container: fix call to protected method
1 parent b52c2c0 commit de5653f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# 1.4.1
2+
3+
## Bugfixes
4+
5+
- Fix call to protected method generate_data when nesting FormSelect
6+
in containers.
7+
18
# 1.4.0
29

310
## Breaking changes

src/lib/FormContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function fields_for($id, $obj, $callback){
256256
$this->form->fields_for($id, $obj, $callback, $this);
257257
}
258258

259-
protected function generate_data($key, array &$attr){
259+
public function generate_data($key, array &$attr){
260260
return $this->form->generate_data($key, $attr);
261261
}
262262
}

0 commit comments

Comments
 (0)