updated to the current pikotools api from branch api2021

This commit is contained in:
2021-05-11 22:20:46 +02:00
parent 85f9fda984
commit f1af7e2eeb
15 changed files with 54 additions and 80 deletions

View File

@@ -137,7 +137,6 @@ return false;
void Env::SaveEnv()
{
const std::wstring & env_str = cur->request->PostVar(L"envvar");
long user_id = puser->id;
bool status = false;
if( cur->request->IsParam(L"a") )

View File

@@ -119,7 +119,7 @@ SortPair sp;
for( ; i2 != cur->request->post_tab.end() ; ++i2 )
{
if( PT::IsSubStringNoCase(L"sort", i2->first.c_str()) )
if( PT::is_substr_nc(L"sort", i2->first.c_str()) )
{
sp.id = Tol(i2->first.c_str() + 4);
sp.sort_index = Toi(i2->second);