renamed: ItemContent::meta_admin -> ItemContent::admin_meta
This commit is contained in:
@@ -203,10 +203,10 @@ bool EditTicket::CloseTicket()
|
||||
{
|
||||
cur->request->item.propagate_connector();
|
||||
|
||||
pt::Space & ticket_space = cur->request->item.item_content.meta_admin.get_add_space(L"ticket"); //CHECKME it was find_add_child_space(L"ticket");
|
||||
pt::Space & ticket_space = cur->request->item.item_content.admin_meta.get_add_space(L"ticket"); //CHECKME it was find_add_child_space(L"ticket");
|
||||
ticket_space.add(L"closed", true);
|
||||
|
||||
pt::Space & thread_space = cur->request->item.item_content.meta_admin.get_add_space(L"thread"); //CHECKME it was find_add_child_space(L"thread");
|
||||
pt::Space & thread_space = cur->request->item.item_content.admin_meta.get_add_space(L"thread"); //CHECKME it was find_add_child_space(L"thread");
|
||||
thread_space.add(L"closed", true);
|
||||
|
||||
//if( db->EditAdminMetaById(cur->request->item.ameta, cur->request->item.id) == WINIX_ERR_OK )
|
||||
|
@@ -318,7 +318,7 @@ void ticket_is_creating_new(Info & i)
|
||||
|
||||
void ticket_is_closed(Info & i)
|
||||
{
|
||||
pt::Space * ticket_space = ticket_info.item->item_content.meta_admin.get_space(L"ticket");
|
||||
pt::Space * ticket_space = ticket_info.item->item_content.admin_meta.get_space(L"ticket");
|
||||
|
||||
if( ticket_space )
|
||||
i.res = ticket_space->to_bool(L"closed", false);
|
||||
@@ -552,7 +552,7 @@ void tickets_tab_is_closed(Info & i)
|
||||
|
||||
if( tickets_value.is_item )
|
||||
{
|
||||
pt::Space * ticket_space = tickets_value.item->item_content.meta_admin.get_space(L"ticket");
|
||||
pt::Space * ticket_space = tickets_value.item->item_content.admin_meta.get_space(L"ticket");
|
||||
|
||||
if( ticket_space )
|
||||
i.res = ticket_space->to_bool(L"closed", false);
|
||||
|
Reference in New Issue
Block a user