mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 23:52:24 +01:00
Clean code
This commit is contained in:
@@ -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)."'";
|
||||
|
||||
Reference in New Issue
Block a user