Skip to content

Commit

Permalink
[Task 1144 ] Fix wrong max-length of produt ref
Browse files Browse the repository at this point in the history
  • Loading branch information
altairis-tof committed Nov 20, 2013
1 parent 34987d3 commit e654dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/product/fiche.php
Expand Up @@ -724,7 +724,7 @@
$tmpcode='';
if (! empty($modCodeProduct->code_auto))
$tmpcode=$modCodeProduct->getNextValue($object,$type);
print '<td class="fieldrequired" width="20%">'.$langs->trans("Ref").'</td><td><input name="ref" size="40" maxlength="32" value="'.$tmpcode.'">';
print '<td class="fieldrequired" width="20%">'.$langs->trans("Ref").'</td><td><input name="ref" size="40" maxlength="128" value="'.$tmpcode.'">';
if ($_error)
{
print $langs->trans("RefAlreadyExists");
Expand Down Expand Up @@ -914,7 +914,7 @@
print '<table class="border allwidth">';

// Ref
print '<tr><td width="15%" class="fieldrequired">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="40" maxlength="32" value="'.$object->ref.'"></td></tr>';
print '<tr><td width="15%" class="fieldrequired">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="40" maxlength="128" value="'.$object->ref.'"></td></tr>';

// Label
print '<tr><td class="fieldrequired">'.$langs->trans("Label").'</td><td colspan="2"><input name="libelle" size="40" value="'.$object->libelle.'"></td></tr>';
Expand Down

0 comments on commit e654dac

Please sign in to comment.