Skip to content

Commit

Permalink
Fixes phalcon#13447: Added Volt tags to array helper in Volt Compiler
Browse files Browse the repository at this point in the history
Full list of tags added are as follows;
* url_field
* color_field
* range_field
* date_time_field
*  date_time_local_field
* month_field
* time_field
* week_field
  • Loading branch information
CameronHall committed Oct 7, 2018
1 parent 777123c commit cd58123
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG-3.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@
- Fixed `Phalcon\Mvc\Model::setSnapshotData` to properly sets the old snapshot
- Do not throw Exception when superglobal does not exist [#13252](https://github.com/phalcon/cphalcon/issues/13252), [#13254](https://github.com/phalcon/cphalcon/issues/13254), [#12918](https://github.com/phalcon/cphalcon/issues/12918)
- Fixed `Phalcon\Mvc\Model\Query::execute` to properly bind parameters to sub queries [#11605](https://github.com/phalcon/cphalcon/issues/11605)
- Added Volt tags to array helper in Volt Compiler [#13447](https://github.com/phalcon/cphalcon/issues/13447)
10 changes: 9 additions & 1 deletion phalcon/mvc/view/engine/volt/compiler.zep
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,15 @@ class Compiler implements InjectionAwareInterface
"date_field": true,
"tel_field": true,
"numeric_field": true,
"image_input": true
"image_input": true,
"url_field": true,
"color_field": true,
"range_field": true,
"date_time_field": true,
"date_time_local_field": true,
"month_field": true,
"time_field": true,
"week_field": true
];
let this->_arrayHelpers = arrayHelpers;
}
Expand Down

0 comments on commit cd58123

Please sign in to comment.