aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-12-13 15:21:09 +0000
committerplegall <plg@piwigo.org>2011-12-13 15:21:09 +0000
commitae9d066d3ab139e9ab242d6c7e93afda080f852d (patch)
treefa44c3753cf9c6ce4f709faed2377b4fa4a27ea1
parent9303b10de8b5f4ba87eb004d75033187dae7b386 (diff)
feature 2489 added: ability to update "file" info in pwg.images.setInfo
git-svn-id: http://piwigo.org/svn/branches/2.3@12729 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/ws_functions.inc.php1
-rw-r--r--ws.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 24655689a..a89c2f9ff 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -2445,6 +2445,7 @@ SELECT *
$update = array();
$info_columns = array(
+ 'file',
'name',
'author',
'comment',
diff --git a/ws.php b/ws.php
index c7781093b..4319bada9 100644
--- a/ws.php
+++ b/ws.php
@@ -376,6 +376,7 @@ function ws_addDefaultMethods( $arr )
array(
'image_id' => array(),
+ 'file' => array('default' => null),
'name' => array('default' => null),
'author' => array('default' => null),
'date_creation' => array('default' => null),