merge with master
[nikiroo-utils.git] / library / Template.java
index 3ec987332913bc4613c71f58d5e2830964aeba6c..a116ef67f23f3ae237f72d5fffed58bf7a9f31d5 100644 (file)
@@ -70,7 +70,7 @@ public class Template {
        }
 
        public synchronized Template set(String key, String value) {
-               values.put(key, value == null ? "" : key);
+               values.put(key, value == null ? "" : value);
                valuesTemplate.remove(key);
                valuesTemplateList.remove(key);
                return this;