Skip to content

Commit

Permalink
Fixed #10208
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 3, 2021
1 parent b57df1b commit 85e3910
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# Release Notes for Craft CMS 3.x

## Unreleased

### Fixed
- Fixed an error that could occur if the `field()` macro in the `_includes/forms` control panel template was called withoun an `input` argument. ([#10208](https://github.com/craftcms/cms/issues/10208))

## 3.7.24 - 2021-12-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/templates/_includes/forms.html
Expand Up @@ -130,7 +130,7 @@


{% macro field(config, input) %}
{{ craft.cp.field(input, config)|raw }}
{{ craft.cp.field(input ?? '', config)|raw }}
{% endmacro %}


Expand Down

0 comments on commit 85e3910

Please sign in to comment.