updated ticket plugin to the new ezc api (child spaces were removed)
This commit is contained in:
@@ -150,8 +150,7 @@ void SessionData::BuildFileList(std::vector<long> & file_tab, pt::Space & space)
|
||||
{
|
||||
for(pt::Space * sp : *child_table)
|
||||
{
|
||||
if( sp->is_equal(L"name", L"param") )
|
||||
CheckFile(file_tab, *sp);
|
||||
CheckFile(file_tab, *sp);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -165,10 +164,7 @@ void SessionData::CheckFile(std::vector<long> & file_tab, pt::Space & space)
|
||||
{
|
||||
for(pt::Space * sp : *child_table)
|
||||
{
|
||||
if( sp->is_equal(L"name", L"file") )
|
||||
{
|
||||
file_tab.push_back(sp->to_long(L"itemid"));
|
||||
}
|
||||
file_tab.push_back(sp->to_long(L"itemid"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user