зеркало из https://github.com/microsoft/MIMWAL.git
Merge pull request #28 from bpalfaro/master
PowerShell Activity - Error When Hashtable Has Null Values
This commit is contained in:
Коммит
bcc1663a2b
|
@ -767,7 +767,7 @@ namespace MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.Activitie
|
|||
object value = results[s];
|
||||
|
||||
// Values may come as PSObject types. In that case, read the base object.
|
||||
if (value.GetType() == typeof(PSObject))
|
||||
if (value != null && value.GetType() == typeof(PSObject))
|
||||
{
|
||||
value = ((PSObject)results[s]).BaseObject;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче