feature 967: optionnaly transmit the original filename to pwg.images.add. When

transmitted, it fills the images.file column.

git-svn-id: http://piwigo.org/svn/branches/2.0@4910 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-02-19 09:19:21 +00:00
parent ce326d88f3
commit c36a3d5adc
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1244,7 +1244,7 @@ SELECT
// database registration
$insert = array(
'file' => $filename_wo_ext.'.jpg',
'file' => !empty($params['original_filename']) ? $params['original_filename'] : $filename_wo_ext.'.jpg',
'date_available' => $dbnow,
'tn_ext' => 'jpg',
'name' => $params['name'],
+1
View File
@@ -204,6 +204,7 @@ function ws_addDefaultMethods( $arr )
'thumbnail_sum' => array(),
'high_sum' => array('default' => null),
'original_sum' => array(),
'original_filename' => array('default' => null),
'name' => array('default' => null),
'author' => array('default' => null),
'date_creation' => array('default' => null),