mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
feature added: ability to set rank from webservice upload.
git-svn-id: http://piwigo.org/svn/trunk@2520 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -828,6 +828,7 @@ function ws_images_add($params, &$service)
|
||||
// file_sum
|
||||
// thumbnail_content
|
||||
// thumbnail_sum
|
||||
// rank
|
||||
|
||||
// $fh_log = fopen('/tmp/php.log', 'w');
|
||||
// fwrite($fh_log, time()."\n");
|
||||
@@ -926,7 +927,8 @@ function ws_images_add($params, &$service)
|
||||
|
||||
$insert = array(
|
||||
'category_id' => $params['category_id'],
|
||||
'image_id'=> $image_id,
|
||||
'image_id' => $image_id,
|
||||
'rank' => $params['rank'],
|
||||
);
|
||||
mass_inserts(
|
||||
IMAGE_CATEGORY_TABLE,
|
||||
|
||||
Reference in New Issue
Block a user