diff --git a/src/include/brwbut.cpp b/src/include/brwbut.cpp index 5eac80b60..27d6907da 100644 --- a/src/include/brwbut.cpp +++ b/src/include/brwbut.cpp @@ -1741,6 +1741,8 @@ bool TReport_select::check(CheckTime ct) TToken_string * row = (TToken_string *)obj; found = (repdescr == row->get(0)); + if (_type == 'D' && !found) + found = (repdescr == row->get(1)); if (found) { name = row->get(descr_type() ? 1 : 0); @@ -1784,7 +1786,7 @@ const TString & TReport_select::get_path(const char * name) found = (repdescr == row->get(0)); if (found) { - path = row->get(0); + path = _type =="D" ? row->get(1) : row->get(0); break; } }