Show
Ignore:
Timestamp:
18.08.2010 15:49:06 (9 years ago)
Author:
mdewsnip
Message:

Fix so [srclink] still works after my changes to srclink_file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/formattools.cpp

    r22665 r22670  
    18511851     text_t link_filename = get_meta(collection, collectproto, docinfo, disp, formatlistptr->meta, options, logout); 
    18521852         if (!link_filename.empty()) { 
    1853        text_t href= expand_metadata(options["assocfilepath"]+link_filename, collection, collectproto, docinfo, disp, options, logout); 
     1853       text_t href= expand_metadata(options["assocfilepath"], collection, collectproto, docinfo, disp, options, logout) + link_filename; 
    18541854       if (formatlistptr->text == "href") { 
    18551855         return href;