This bug currently occurs if you try to edit the profile inline in the profile itself (Error: "Undefined index: data"). The reason for this bug is that the after saving the input data, the "real" user data isn't updated, only their options which is handled by the UserAction separately (UserAction, line 140), so 'data' doesn't always need to exist.
throw new ValidateActionException('Insufficient permissions');
}
- // read data
+ // read objects
if (!count($this->objects)) {
$this->readObjects();
}
throw new ValidateActionException('Insufficient permissions');
}
- // read data
+ // read objects
if (!count($this->objects)) {
$this->readObjects();
}
$this->readObjects();
}
- foreach ($this->objects as $object) {
- $object->update($this->parameters['data']);
+ if (isset($this->parameters['data'])) {
+ foreach ($this->objects as $object) {
+ $object->update($this->parameters['data']);
+ }
}
}