bug:1791 update webservices upload methods

git-svn-id: http://piwigo.org/svn/trunk@10160 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2011-04-08 10:51:54 +00:00
commit c9ec229a5a
2 changed files with 28 additions and 32 deletions

View file

@ -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');