diff --git a/ChangeLog b/ChangeLog index 4e3bbf3fd..d8cd1b792 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,7 @@ - TW-1549 task annotate hangs with specific text pattern (thanks to Alexandre de Verteuil). - TW-1550 _contexts helper-command (thanks to David Patrick). +- TW-1551 Unable to get a UDA value from DOM (thanks to Tomas Babej). - Eliminated some code that is not UTF8-safe. - Removed pthreads linkage. - Implemented the context feature. diff --git a/src/DOM.cpp b/src/DOM.cpp index e3647e351..4b0dffdb9 100644 --- a/src/DOM.cpp +++ b/src/DOM.cpp @@ -313,7 +313,7 @@ bool DOM::get (const std::string& name, const Task& task, Variant& value) Column* column = context.columns[canonical]; if (column) { - if (column->is_uda () && ! task.has (canonical)) + if (column->is_uda () && ! ref.has (canonical)) { value = Variant ("''"); return true;