mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-28 04:09:56 +03:00
bug 2615 php notice in calendar amd web service
multisize improve handling of cases where the original is smaller than a requested derivative, but rotation/watermarking is required git-svn-id: http://piwigo.org/svn/trunk@14143 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
10bf036231
commit
1b54eb8e9c
4 changed files with 34 additions and 8 deletions
|
@ -224,7 +224,7 @@ function ws_getMissingDerivatives($params, &$service)
|
|||
$where_clauses[] = 'id IN ('.implode(',',$params['ids']).')';
|
||||
}
|
||||
|
||||
$query_model = 'SELECT id, path, representative_ext, width, height
|
||||
$query_model = 'SELECT id, path, representative_ext, width,height,rotation
|
||||
FROM '.IMAGES_TABLE.'
|
||||
WHERE '.implode(' AND ', $where_clauses).'
|
||||
ORDER BY id DESC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue