Merge pull request #8383 from ggg44473/7.0

Add missing $mode in BookKeeping::createStd()
This commit is contained in:
Laurent Destailleur 2018-03-15 00:33:37 +01:00 committed by GitHub
commit ffc91bdfdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -501,7 +501,7 @@ class BookKeeping extends CommonObject
}
if (! $error) {
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX . $this->table_element);
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX . $this->table_element . $mode);
if (! $notrigger) {
// Uncomment this and change MYOBJECT to your own tag if you