git-svn-id: http://piwigo.org/svn/trunk@2485 68402e56-0260-453c-a942-63ccdbb3a9ee

This commit is contained in:
rvelices
2008-08-23 01:21:42 +00:00
parent 726529c49b
commit ebe89e0a28
2 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
// creation of the "infos" field :
// <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']);
$xml_infos.= encodeAttribute('date_creation', $date_creation);