aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index e305016e3..fbc5d5283 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -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,