Skip to content

Commit 00572d6

Browse files
NicolasEYSSERICSilverYoCha
authored andcommitted
fixing bug #5174 by using right method
1 parent 0cc519e commit 00572d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gallery/gallery-war/src/main/webapp/gallery/jsp/viewRestrictedPhotos.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
idP = photo.getPhotoPK().getId();
306306
String nomRep = resource.getSetting("imagesSubDirectory") + idP;
307307
String name = photo.getId() + extension;
308-
vignette_url = FileServerUtils.getUrl(spaceId, componentId, name, photo.getImageMimeType(), nomRep);
308+
vignette_url = FileServerUtils.getUrl(componentId, name, photo.getImageMimeType(), nomRep);
309309
if (!photo.isPreviewable()) {
310310
vignette_url = m_context + "/gallery/jsp/icons/notAvailable_" + resource.getLanguage() + extension;
311311
}

0 commit comments

Comments
 (0)