Update knowledgerecord.class.php

This commit is contained in:
Laurent Destailleur 2022-08-03 18:25:32 +02:00 committed by GitHub
parent 54b90abd87
commit 93b040250e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -470,7 +470,7 @@ class KnowledgeRecord extends CommonObject
// Delete all child tables
if (!$error) {
$elements = array('categorie_knowledgemanagement'); // product_batch is done before
$elements = array('categorie_knowledgemanagement');
foreach ($elements as $table) {
if (!$error) {
$sql = "DELETE FROM ".MAIN_DB_PREFIX.$table;