diff --git a/htdocs/multicurrency/multicurrency_rates.php b/htdocs/multicurrency/multicurrency_rates.php
index 0e8b2ecdf58..daf78227a15 100644
--- a/htdocs/multicurrency/multicurrency_rates.php
+++ b/htdocs/multicurrency/multicurrency_rates.php
@@ -14,6 +14,7 @@
* along with this program. If not, see .
*/
+// FIXME: conflit entre paramètres d'URL et paramètres POST (action=filter vs. action=add)
/**
* \file htdocs/multicurrency/multicurrency_rates.php
@@ -197,8 +198,9 @@ function _mainView($db, $TVisibleColumn, $mode='view', $targetId=NULL) {
// entire form is inside cell because HTML does not allow forms inside tables unless they are inside cells
echo '
'
.''
.' | ';
echo '';
@@ -307,9 +309,7 @@ function _getCellDefault($rawValue, $mode='view', $inputName='', $formId=NULL) {
'value' => $rawValue,
'name' => $inputName,
);
- if ($formId !== NULL) {
- $inputAttributes['form'] = $formId;
- }
+ if ($formId !== NULL) {$inputAttributes['form'] = $formId;}
return _tagWithAttributes('input', $inputAttributes);
case 'raw':
return $rawValue;
@@ -345,9 +345,7 @@ function _getCellDate($rawValue, $mode='view', $inputName='', $formId=NULL) {
'value' => preg_replace('/^(.*?) .*/', '$1', $rawValue),
'name' => $inputName,
);
- if ($formId !== NULL) {
- $inputAttributes['form'] = $formId;
- }
+ if ($formId !== NULL) {$inputAttributes['form'] = $formId;}
return _tagWithAttributes('input', $inputAttributes);
case 'raw':
return $rawValue;
@@ -391,9 +389,7 @@ function _getCellNumber($rawValue, $mode='view', $inputName='', $formId=NULL) {
'pattern' => '\d+(?:[.,]\d+)?',
'required' => 'required',
);
- if ($formId !== NULL) {
- $inputAttributes['form'] = $formId;
- }
+ if ($formId !== NULL) {$inputAttributes['form'] = $formId;}
return _tagWithAttributes('input', $inputAttributes);
case 'raw':
return $rawValue;