Revision 3bfae38f

View differences:

src/template/Template.cc
569 569
        return false;
570 570
    }
571 571

  
572
    replace("NAME", st.substr( 0, st.find_last_not_of(" \f\n\r\t\v") + 1 ) );
572
    replace(name, st.substr( 0, st.find_last_not_of(" \f\n\r\t\v") + 1 ) );
573 573

  
574 574
    return true;
575 575
}

Also available in: Unified diff