Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from OPEN-DSI/2022.5.3_rc
Browse files Browse the repository at this point in the history
2022.5.3 rc -> 2022.5.3
  • Loading branch information
kkhelifa-opendsi authored Apr 22, 2024
2 parents 95d8c86 + f8d36f7 commit 14beae6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions class/dictionary.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3395,6 +3395,9 @@ public function insert($fieldsValue, $user, $noTrigger = 0)
$errors[] = $this->db->lasterror();
} else {
$this->id = $this->dictionary->is_rowid_auto_increment ? $this->db->last_insert_id(MAIN_DB_PREFIX . $this->dictionary->table_name) : $rowid;
if ($this->dictionary->has_entity) {
$this->entity = $conf->entity;
}
}

// Insert post line of dictionary table
Expand Down

0 comments on commit 14beae6

Please sign in to comment.