aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-04-08 10:51:54 +0000
committermistic100 <mistic@piwigo.org>2011-04-08 10:51:54 +0000
commitc9ec229a5af20e24c676c3af54a948ba718a876e (patch)
treefde70968914ba7bf9d0433b8aeb5ca4f511303ab /include
parent758fe845f8dd663233a4082b7f758bea592be986 (diff)
bug:1791 update webservices upload methods
git-svn-id: http://piwigo.org/svn/trunk@10160 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/ws_functions.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index a0982becb..3f322cf61 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1246,6 +1246,8 @@ SELECT
if ('high' == $params['type'])
{
$update['high_filesize'] = $infos['filesize'];
+ $update['high_width'] = $infos['width'];
+ $update['high_height'] = $infos['height'];
$update['has_high'] = 'true';
}
@@ -1374,6 +1376,8 @@ SELECT
{
$insert['has_high'] = 'true';
$insert['high_filesize'] = $high_infos['filesize'];
+ $insert['high_width'] = $high_infos['width'];
+ $insert['high_height'] = $high_infos['height'];
}
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');