Skip to content

Commit

Permalink
View::reset() sets content to null instead of emptry string
Browse files Browse the repository at this point in the history
  • Loading branch information
rudiservo committed Sep 25, 2023
1 parent 450009c commit b4b88ac
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 b4b88ac

Please sign in to comment.