Skip to content
Snippets Groups Projects
Commit 0c44ccd4 authored by Pegane Nestor's avatar Pegane Nestor
Browse files

FIX #5877 removed variables

parent 523e5a11
No related branches found
No related tags found
No related merge requests found
...@@ -540,11 +540,9 @@ abstract class types_Abstract extends database ...@@ -540,11 +540,9 @@ abstract class types_Abstract extends database
} }
$db->query( $db->query(
"INSERT INTO " . DOCTYPES_INDEXES_TABLE "INSERT INTO " . DOCTYPES_INDEXES_TABLE
. " (coll_id, type_id, field_name, mandatory, retention_final_disposition, retention_rule, duration_current_use) " . " (coll_id, type_id, field_name, mandator) "
. "values(?, ?, ?, ?, ?, ?, ?)", . "values(?, ?, ?, ?, ?, ?, ?)",
array($_SESSION['m_admin']['doctypes']['COLL_ID'], $_SESSION['m_admin']['doctypes']['TYPE_ID'] array($_SESSION['m_admin']['doctypes']['COLL_ID'], $_SESSION['m_admin']['doctypes']['TYPE_ID'], $_SESSION['m_admin']['doctypes']['indexes'][$i], $mandatory)
, $_SESSION['m_admin']['doctypes']['indexes'][$i], $mandatory, $_SESSION['m_admin']['doctypes']['RETENTION_FINAL_DISPOSITION'], $_SESSION['m_admin']['doctypes']['RETENTION_RULE'],
$_SESSION['m_admin']['doctypes']['DURATION_CURRENT_USE'])
); );
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment