Maxime Kohlhaas 3 лет назад
Родитель
Сommit
1dc1c2aa79
1 измененных файлов с 1 добавлено и 1 удалено
  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">';