diff options
Diffstat (limited to 'include/ws_functions.inc.php')
-rw-r--r-- | include/ws_functions.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index ab4c342cc..56194f32a 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1209,7 +1209,7 @@ SELECT function ws_images_add($params, &$service) { - global $conf; + global $conf, $user; if (!is_admin()) { return new PwgError(401, 'Access denied'); @@ -1284,6 +1284,7 @@ SELECT 'width' => $file_infos['width'], 'height' => $file_infos['height'], 'md5sum' => $params['original_sum'], + 'added_by' => $user['id'], ); $info_columns = array( |