From ae9d066d3ab139e9ab242d6c7e93afda080f852d Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 13 Dec 2011 15:21:09 +0000 Subject: [PATCH] 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 --- include/ws_functions.inc.php | 1 + ws.php | 1 + 2 files changed, 2 insertions(+) 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),