mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 06:16:37 +01:00
CA-326161: Check for null before accessing the ManualTextInstructions
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
parent
f46c9ea8d6
commit
629e2f641a
@ -126,7 +126,7 @@ namespace XenAdmin.Wizards.PatchingWizard
|
||||
|
||||
sb.AppendLine(string.Format(Messages.PATCHINGWIZARD_SINGLEUPDATE_SUCCESS_ONE, GetUpdateName())).AppendLine();
|
||||
|
||||
if (!IsAutomaticMode && ManualTextInstructions.ContainsKey(pool))
|
||||
if (!IsAutomaticMode && ManualTextInstructions != null && ManualTextInstructions.ContainsKey(pool))
|
||||
sb.Append(ManualTextInstructions[pool]).AppendLine();
|
||||
|
||||
return sb.ToString();
|
||||
|
Loading…
Reference in New Issue
Block a user