@magic-xpa/engine 4.801.0-dev481.290 → 4.801.0-dev481.292

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30253,7 +30253,7 @@ class CommandsTable {
30253
30253
  }
30254
30254
  }
30255
30255
 
30256
- let CurrentClientVersion = '4.801.0-dev481.290';
30256
+ let CurrentClientVersion = '4.801.0-dev481.292';
30257
30257
 
30258
30258
  class ClientManager {
30259
30259
  constructor() {
@@ -30552,7 +30552,7 @@ class ClientManager {
30552
30552
  let pic = null;
30553
30553
  let task = MGDataCollection.Instance.GetTaskByID(taskId);
30554
30554
  let control = null;
30555
- if (controlName !== null) {
30555
+ if (controlName !== null && task != null) {
30556
30556
  control = task.getForm().GetCtrl(controlName);
30557
30557
  pic = control.getPIC();
30558
30558
  }