updated to the new Pikotools api (new Space struct)
This commit is contained in:
@@ -80,11 +80,11 @@ bool Reply::HasAccess()
|
||||
return false;
|
||||
|
||||
|
||||
PT::Space * thread_space = cur->request->item.item_content.meta_admin.FindSpace(L"thread");
|
||||
PT::Space * thread_space = cur->request->item.item_content.meta_admin.find_child_space(L"thread");
|
||||
|
||||
if( thread_space )
|
||||
{
|
||||
if( thread_space->Bool(L"closed", false) )
|
||||
if( thread_space->to_bool(L"closed", false) )
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user