forked from Wavyzz/dolibarr
Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -1108,7 +1108,7 @@ if ($action == 'create') {
|
||||
// Document model
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/modules/expedition/modules_expedition.php';
|
||||
$list = ModelePdfExpedition::liste_modeles($db);
|
||||
if (count($list) > 1) {
|
||||
if (is_countable($list) && count($list) > 1) {
|
||||
print "<tr><td>".$langs->trans("DefaultModel")."</td>";
|
||||
print '<td colspan="3">';
|
||||
print img_picto('', 'pdf', 'class="pictofixedwidth"');
|
||||
|
||||
Reference in New Issue
Block a user