File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
imcger/imgupload/styles/all/template/event Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 327327 */
328328 imcger . imgUpload . showAttachImage = function ( ) {
329329 // Attachments that insert in the message
330- const notDisplayedAttachments = { { IUL_NOT_DISPLAYED_ATTACHMENTS } } ,
330+ const notDisplayedAttachments = { { IUL_NOT_DISPLAYED_ATTACHMENTS ?? '[]' } } ,
331331 // If true don't show the attachment box
332- notDisplayAttachmentBox = { { IUL_NOT_DISPLAY_ATTACHMENTBOX } } ;
332+ notDisplayAttachmentBox = { { IUL_NOT_DISPLAY_ATTACHMENTBOX ?? 0 } } ;
333333
334334 // Return when no attachments present
335- if ( typeof notDisplayAttachmentBox == 'undefined' || notDisplayAttachmentBox && ! notDisplayedAttachments . length ) {
335+ if ( ! notDisplayedAttachments . length ) {
336336 return;
337337 }
338338
You can’t perform that action at this time.
0 commit comments