updated to the current pikotools api from branch api2021
This commit is contained in:
@@ -583,13 +583,13 @@ PostFileTab::iterator i2;
|
||||
{
|
||||
// !! CHECKME why ticket_form_prefix is in the global config?
|
||||
// (this is a plugin variable)
|
||||
if( PT::IsSubString(config->ticket_form_prefix, i->first) )
|
||||
if( PT::is_substr(config->ticket_form_prefix, i->first) )
|
||||
{
|
||||
long param_id = Tol(i->first.c_str() + config->ticket_form_prefix.size());
|
||||
ReadTicketParam(ticket, param_id, i->second, meta);
|
||||
}
|
||||
|
||||
if( PT::IsSubString(ticket_delete_prefix, i->first) )
|
||||
if( PT::is_substr(ticket_delete_prefix, i->first) )
|
||||
{
|
||||
long file_id = Tol(i->first.c_str() + ticket_delete_prefix.size());
|
||||
|
||||
@@ -602,7 +602,7 @@ PostFileTab::iterator i2;
|
||||
|
||||
for(i2=cur->request->post_file_tab.begin() ; i2!=cur->request->post_file_tab.end() ; ++i2)
|
||||
{
|
||||
if( PT::IsSubString(config->ticket_form_prefix, i2->first) )
|
||||
if( PT::is_substr(config->ticket_form_prefix, i2->first) )
|
||||
ReadTicketParam(Tol(i2->first.c_str() + config->ticket_form_prefix.size()), i2->second, meta);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user