Skip to content

Commit 7938274

Browse files
author
Tom Clarke
committed
Explicitly putting .jpg
1 parent d51d1a6 commit 7938274

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function canRequestBeCached(Request $request, $person)
188188

189189
function getCacheKey($width, $height, $person, Request $request)
190190
{
191-
return "$width-$height-$person-" . md5(serialize($request->params()));
191+
return "$width-$height-$person-" . md5(serialize($request->params())) . ".jpg";
192192
}
193193

194194
function isFileCached($cacheKey)

0 commit comments

Comments
 (0)