updated to the current pikotools api from branch api2021
This commit is contained in:
@@ -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") )
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user