summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.cc b/src/item.cc
index 4af37e89..700386af 100644
--- a/src/item.cc
+++ b/src/item.cc
@@ -143,7 +143,7 @@ namespace {
}
value_t get_note(item_t& item) {
- return item.note ? string_value(*item.note) : value_t(false);
+ return string_value(item.note ? *item.note : empty_string);
}
value_t has_tag(call_scope_t& args) {