Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Synapticloop authored and Synapticloop committed Nov 17, 2015
1 parent 1ce5378 commit ecf04fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
group = 'synapticloop'
archivesBaseName = 'templar'
description = """Templar templating engine"""
version = 'v1.1.1'
version = 'v1.1.2'

sourceCompatibility = 1.6
targetCompatibility = 1.6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ protected Object evaluateFunction(Object[] args, TemplarContext templarContext)
argZero = args[0];
}

if(null == argZero) {
// is this the true length of null??
return(0);
}

// so what do we have here...
if (argZero instanceof String) {
return(((String)argZero).length());
Expand Down

0 comments on commit ecf04fe

Please sign in to comment.