Fix showing security editor for unnamed objects
@@ -567,6 +567,9 @@ BOOL STDMETHODCALLTYPE PhSecurityInformation3_GetFullResourceName(
{
PhSecurityInformation3 *this = (PhSecurityInformation3 *)This;
+ if (PhIsNullOrEmptyString(this->Context->ObjectName))
+ *ppszResourceName = PhGetString(this->Context->ObjectType);
+ else
*ppszResourceName = PhGetString(this->Context->ObjectName);
return TRUE;
