From 01484757aa730c3c4a1a6c8b31b95c97b089a003 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 12 Aug 2022 11:31:40 +0200 Subject: [PATCH] Debug v16 --- htdocs/admin/eventorganization.php | 2 +- htdocs/website/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/eventorganization.php b/htdocs/admin/eventorganization.php index bb1f0d87f15..f91f8ef13f1 100644 --- a/htdocs/admin/eventorganization.php +++ b/htdocs/admin/eventorganization.php @@ -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); diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 933f1f73687..4ab8f99029e 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -3420,7 +3420,7 @@ if ($action == 'editcss') { $maxfilesizearray = getMaxFileSizeArray(); $maxmin = $maxfilesizearray['maxmin']; if ($maxmin > 0) { - $texte .= ''; // MAX_FILE_SIZE must precede the field type=file + print ''; // MAX_FILE_SIZE must precede the field type=file } print ''; print '';