This commit is contained in:
Laurent Destailleur
2011-08-31 15:12:09 +00:00
parent 4334ec8b30
commit 2bb5e4ba69
30 changed files with 78 additions and 80 deletions

View File

@@ -314,7 +314,7 @@ if ($id > 0 || ! empty($ref))
print '" class="flat"><br><br>';
print '<center><input type="submit" class="button" value="'.$langs->trans("DispatchVerb").'"';
if (sizeof($listwarehouses) <= 0) print ' disabled="true"';
if (count($listwarehouses) <= 0) print ' disabled="disabled"';
print '></center>';
}
if (! $nbproduct && $nbfreeproduct)