Skip to content

Commit

Permalink
Merge pull request #16438 from rudiservo/i16437
Browse files Browse the repository at this point in the history
Fix for #16437
  • Loading branch information
niden authored Sep 25, 2023
2 parents 450009c + b4b88ac commit 8e209a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-5.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixed
- Model Annotation strategy did not work with empty_string [#16426] (https://github.com/phalcon/cphalcon/issues/16426)
- View::reset() sets content to null instead of default empty string [#16437] (https://github.com/phalcon/cphalcon/issues/16437)


## [5.3.1](https://github.com/phalcon/cphalcon/releases/tag/v5.3.1) (2023-09-12)
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Mvc/View.zep
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ class View extends Injectable implements ViewInterface, EventsAwareInterface
let this->disabled = false,
this->engines = false,
this->renderLevel = self::LEVEL_MAIN_LAYOUT,
this->content = null,
this->content = "",
this->templatesBefore = [],
this->templatesAfter = [];

Expand Down

0 comments on commit 8e209a2

Please sign in to comment.