We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd752d commit 2271e14Copy full SHA for 2271e14
inc/entityconfig.class.php
@@ -162,9 +162,9 @@ public function showFormForEntity(Entity $entity) {
162
return false;
163
}
164
165
- if (!$this->getFromDB($ID)) {
+ if (!$this->getFromDbByCrit(['entities_id' => $ID])) {
166
$this->add([
167
- 'id' => $ID,
+ 'entities_id' => $ID,
168
'replace_helpdesk' => self::CONFIG_PARENT,
169
'is_kb_separated' => self::CONFIG_PARENT,
170
'is_search_visible' => self::CONFIG_PARENT,
0 commit comments