Skip to content

Commit

Permalink
Merge pull request #77 from webability-go/late-night
Browse files Browse the repository at this point in the history
patch v2.2.2
  • Loading branch information
metalwolf committed Oct 12, 2023
2 parents c4bf63b + ce92e7f commit f70b096
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions v2/README.md
Expand Up @@ -31,6 +31,10 @@ Some improvements to check, later:
Version Changes Control
=======================

v2.2.2 - 2023-10-12
-----------------------
- Added a security on the sub template .none for ?? meta language into XTemplate, to not try to use an inexistant template and throw a panic error.

v2.2.1 - 2023-09-29
-----------------------
- Added the missing sub template .none for ?? meta language into XTemplate.
Expand Down
2 changes: 1 addition & 1 deletion v2/xcore.go
Expand Up @@ -879,7 +879,7 @@
package xcore

// VERSION is the used version nombre of the XCore library.
const VERSION = "2.2.1"
const VERSION = "2.2.2"

// LOG is the flag to activate logging on the library.
// if LOG is set to TRUE, LOG indicates to the XCore libraries to log a trace of functions called, with most important parameters.
Expand Down
6 changes: 4 additions & 2 deletions v2/xtemplate.go
Expand Up @@ -454,8 +454,10 @@ func (t *XTemplate) injector(datacol XDatasetCollectionDef, language *XLanguage)
if tmp != nil {
subt = tmp
}
substr := subt.injector(datacol, language)
injected = append(injected, substr)
if subt != nil {
substr := subt.injector(datacol, language)
injected = append(injected, substr)
}
}
case MetaDump:
if datacol != nil {
Expand Down

0 comments on commit f70b096

Please sign in to comment.