Kaynağa Gözat

Merge pull request #20965 from atm-maxime/hotfix_parse_error_formfile

Fix parse error on formfile
Laurent Destailleur 3 yıl önce
ebeveyn
işleme
d456261bcb
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      htdocs/core/class/html.formfile.class.php

+ 1 - 1
htdocs/core/class/html.formfile.class.php

@@ -1340,7 +1340,7 @@ class FormFile
 					print '<!-- Line list_of_documents '.$key.' relativepath = '.$relativepath.' -->'."\n";
 					// Do we have entry into database ?
 					print '<!-- In database: position='.(array_key_exists('position', $filearray[$key]) ? $filearray[$key]['position'] : 0).' -->'."\n";
-					print '<tr class="oddeven" id="row-'.(array_key_exists('rowid', $filearray[$key]) . ($filearray[$key]['rowid'] > 0 : 0) ? $filearray[$key]['rowid'] : 'AFTER'.$lastrowid.'POS'.($i + 1)).'">';
+					print '<tr class="oddeven" id="row-'.(array_key_exists('rowid', $filearray[$key]) ? ($filearray[$key]['rowid'] > 0) : 0) ? $filearray[$key]['rowid'] : 'AFTER'.$lastrowid.'POS'.($i + 1).'">';
 
 					// File name
 					print '<td class="minwith200 tdoverflowmax500">';