mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Bug #1698: Fix bug in Template::trim
This commit is contained in:
parent
004dbf6d84
commit
3bfae38f5a
@ -569,7 +569,7 @@ bool Template::trim(const string& name)
|
||||
return false;
|
||||
}
|
||||
|
||||
replace("NAME", st.substr( 0, st.find_last_not_of(" \f\n\r\t\v") + 1 ) );
|
||||
replace(name, st.substr( 0, st.find_last_not_of(" \f\n\r\t\v") + 1 ) );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user