Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for #16437 #16438

Merged
merged 1 commit into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading