changeset 6181:65f278bd4ef5

Let get return a value
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 04 Jun 2013 16:01:43 +0200
parents e30d396defa5
children 95257f28bb3f
files artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java	Tue Jun 04 15:17:19 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/FunctionResolver.java	Tue Jun 04 16:01:43 2013 +0200
@@ -145,7 +145,7 @@
             public Object evaluate(List args) throws XPathFunctionException {
                 Object o = args.get(0);
                 if (o instanceof String) {
-                    FunctionResolver.this.buildHelper.frames.getNull(
+                    return FunctionResolver.this.buildHelper.frames.getNull(
                         (String)o, StackFrames.NULL);
                 }
                 return StackFrames.NULL;

http://dive4elements.wald.intevation.org