FSN#38210 Bon foto's blijven achter in TEMP-folder

svn path=/Website/branches/v2016.2/; revision=31209
This commit is contained in:
Jos Groot Lipman
2016-10-24 15:53:11 +00:00
parent be55f671c6
commit 6567151ab2

View File

@@ -447,7 +447,7 @@ function oneFileInfo(fsoFile, result, pModule, pKey, pSubpath, pNiveau, params)
var tempfile = Server.MapPath(rooturl + '/temp/img_' + customerId + '_' + filedata.digest + "_" + params.resizeCode + ".jpg");
oIMG.SaveAs(tempfile);
filedata.resized = tempfile;
if (Session("logging") == 0)
if (typeof Session("Logging")=="undefined" || Session("Logging") == 0)
filedata.tempdelete = tempfile; // Moet aanroeper opruimen
}
catch (e)