using PT::IsSubString* methods from pikotools
git-svn-id: svn://ttmath.org/publicrep/winix/trunk@1138 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -41,6 +41,8 @@
|
||||
#include "core/plugin.h"
|
||||
#include "pluginmsg.h"
|
||||
#include "sessiondata.h"
|
||||
#include "convert/text.h"
|
||||
|
||||
|
||||
namespace Winix
|
||||
{
|
||||
@@ -567,13 +569,13 @@ PostFileTab::iterator i2;
|
||||
{
|
||||
// !! CHECKME why ticket_form_prefix is in the global config?
|
||||
// (this is a plugin variable)
|
||||
if( IsSubString(config->ticket_form_prefix, i->first) )
|
||||
if( PT::IsSubString(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( IsSubString(ticket_delete_prefix, i->first) )
|
||||
if( PT::IsSubString(ticket_delete_prefix, i->first) )
|
||||
{
|
||||
long file_id = Tol(i->first.c_str() + ticket_delete_prefix.size());
|
||||
|
||||
@@ -586,7 +588,7 @@ PostFileTab::iterator i2;
|
||||
|
||||
for(i2=cur->request->post_file_tab.begin() ; i2!=cur->request->post_file_tab.end() ; ++i2)
|
||||
{
|
||||
if( IsSubString(config->ticket_form_prefix, i2->first) )
|
||||
if( PT::IsSubString(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