Debug v16
This commit is contained in:
parent
daf3b928c7
commit
01484757aa
@ -368,7 +368,7 @@ if ($action == 'edit') {
|
||||
if ($resprod > 0) {
|
||||
print $product->getNomUrl(1);
|
||||
} elseif ($resprod < 0) {
|
||||
setEventMessages(null, $object->errors, "errors");
|
||||
setEventMessages($product->error, $product->errors, "errors");
|
||||
}
|
||||
} else {
|
||||
print getDolGlobalString($constname);
|
||||
|
||||
@ -3420,7 +3420,7 @@ if ($action == 'editcss') {
|
||||
$maxfilesizearray = getMaxFileSizeArray();
|
||||
$maxmin = $maxfilesizearray['maxmin'];
|
||||
if ($maxmin > 0) {
|
||||
$texte .= '<input type="hidden" name="MAX_FILE_SIZE" value="'.($maxmin * 1024).'">'; // MAX_FILE_SIZE must precede the field type=file
|
||||
print '<input type="hidden" name="MAX_FILE_SIZE" value="'.($maxmin * 1024).'">'; // MAX_FILE_SIZE must precede the field type=file
|
||||
}
|
||||
print '<input type="file" class="flat minwidth300" name="addedfile" id="addedfile"/>';
|
||||
print '</tr></td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user