summaryrefslogtreecommitdiff
path: root/src/item.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.cc')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index debda7a3..37e19a82 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -237,7 +237,7 @@ namespace {
in_context_t<item_t> env(scope, "s");
if (optional<string> value = env->get_tag(env.get<string>(0)))
return string_value(*value);
- return false;
+ return string_value(empty_string);
}
value_t get_pathname(item_t& item) {