diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index e1967bcbb..7d1c6431a 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -2427,6 +2427,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),