Skip to content

Commit

Permalink
Merge pull request #8383 from ggg44473/7.0
Browse files Browse the repository at this point in the history
Add missing $mode in BookKeeping::createStd()
  • Loading branch information
eldy committed Mar 14, 2018
2 parents e7a3159 + 9a1588d commit ffc91bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/accountancy/class/bookkeeping.class.php
Expand Up @@ -501,7 +501,7 @@ public function createStd(User $user, $notrigger = false, $mode='') {
}

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
Expand Down

0 comments on commit ffc91bd

Please sign in to comment.