From 1b54eb8e9ca1d5ac7d2fc28b37c39bf369bd0729 Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 14 Apr 2012 04:52:20 +0000 Subject: 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 --- include/ws_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ws_functions.inc.php') diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index fd24b1136..31cc8662f 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -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 -- cgit v1.2.3