This commit is contained in:
bagtaib 2022-08-22 00:36:23 +01:00
parent b342560e4d
commit 9e71d491e6
2 changed files with 3 additions and 3 deletions

View File

@ -261,11 +261,11 @@ class Partnership extends CommonObject
if (!$this->date_creation) {
$this->date_creation = $now;
}
$this->db->begin();
// Insert partnership
// Insert partnership
$sql = "INSERT INTO ".MAIN_DB_PREFIX."partnership";
$sql .= " (ref, date_creation,fk_user_creat,fk_user_modif,fk_type,entity,import_key)";
$sql .= " VALUES (";

View File

@ -346,7 +346,7 @@ if (empty($reshook) && $action == 'add') {
}*/
// test if societe or email already exist
if (!empty($backtopage)) {