Clean code

This commit is contained in:
ldestailleur
2025-10-02 10:56:12 +02:00
parent da79b3bc4c
commit 6856b66d85
35 changed files with 50 additions and 68 deletions

View File

@@ -480,6 +480,7 @@ foreach ($myTmpObjects as $myTmpObjectKey => $myTmpObjectArray) {
// Load array def with activated templates
$def = array();
// TODO Replace with $def = getListOfModels($db, $type);
$sql = "SELECT nom";
$sql .= " FROM ".$db->prefix()."document_model";
$sql .= " WHERE type = '".$db->escape($type)."'";