mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user