- TW-1551 Unable to get a UDA value from DOM (thanks to Tomas Babej).
This commit is contained in:
Paul Beckingham 2015-02-24 22:35:18 -05:00
parent ea78200ae3
commit 651ac3f174
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@
- TW-1549 task annotate hangs with specific text pattern (thanks to Alexandre - TW-1549 task annotate hangs with specific text pattern (thanks to Alexandre
de Verteuil). de Verteuil).
- TW-1550 _contexts helper-command (thanks to David Patrick). - 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. - Eliminated some code that is not UTF8-safe.
- Removed pthreads linkage. - Removed pthreads linkage.
- Implemented the context feature. - Implemented the context feature.

View file

@ -313,7 +313,7 @@ bool DOM::get (const std::string& name, const Task& task, Variant& value)
Column* column = context.columns[canonical]; Column* column = context.columns[canonical];
if (column) if (column)
{ {
if (column->is_uda () && ! task.has (canonical)) if (column->is_uda () && ! ref.has (canonical))
{ {
value = Variant ("''"); value = Variant ("''");
return true; return true;