From bdd7e4751ba9f831853189fca0a8e95c823c3c07 Mon Sep 17 00:00:00 2001 From: Benoit Mortier <benoit.mortier@opensides.be> Date: Sat, 31 Dec 2016 17:09:40 +0100 Subject: [PATCH] Fixes #5254 Trying to avoid problems with foreign key handling put back the save into the loop and removed the save outside of the loff and inside the refs foreach Signed-off-by: Benoit Mortier <benoit.mortier@opensides.be> --- include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_plugin.inc b/include/class_plugin.inc index f3ee08ca3..408497a3f 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1292,9 +1292,9 @@ class plugin ); } $tabobject->by_object[$tab]->save_object(); + $tabobject->by_object[$tab]->save(); } } - $tabobject->save(); } elseif ($mode == 'references') { // For each tab concerned foreach ($tabRefs['refs'] as $tab => $tab_infos) { -- GitLab