Index: /branches/branch-1_7/upload.php
===================================================================
--- /branches/branch-1_7/upload.php	(revision 2034)
+++ /branches/branch-1_7/upload.php	(revision 2486)
@@ -104,5 +104,5 @@
       case 3 : $result['type'] = 'png'; break;
       default :
-        array_push( $result['error'], l10n('upload_advise_filetype') );  
+        array_push( $result['error'], l10n('upload_advise_filetype') );
       }
     }
@@ -135,5 +135,5 @@
   $category = get_cat_info( $page['category'] );
   $category['cat_dir'] = get_complete_dir( $page['category'] );
-  
+
   if (url_is_remote($category['cat_dir']) or !$category['uploadable'])
   {
@@ -174,5 +174,5 @@
     array_push( $error, l10n('upload_err_username') );
   }
-  
+
   $date_creation = '';
   if ( !empty($_POST['date_creation']) )
@@ -192,5 +192,5 @@
   // <infos author="Pierrick LE GALL" comment="my comment"
   //        date_creation="2004-08-14" name="" />
-  $xml_infos = '<infos';
+  $xml_infos = '<infos ';
   $xml_infos.= encodeAttribute('author', $_POST['author']);
   $xml_infos.= encodeAttribute('comment', $_POST['comment']);
@@ -203,5 +203,5 @@
     array_push( $error, l10n('update_wrong_dirname') );
   }
-  
+
   if ( sizeof( $error ) == 0 )
   {
@@ -333,5 +333,5 @@
     )
   );
-  
+
 if ( !$page['upload_successful'] )
 {
@@ -386,5 +386,5 @@
   }
   $template->assign_block_vars('upload_not_successful.advise',array('ADVISE'=>l10n('upload_advise_filetype')));
-  
+
 //----------------------------------------- optionnal username and mail address
   if ( !isset( $page['waiting_id'] ) )
