diff --git a/src/templates/modern/li/email.folder.contents.tpl b/src/templates/modern/li/email.folder.contents.tpl
index 6475ed4..193d708 100644
--- a/src/templates/modern/li/email.folder.contents.tpl
+++ b/src/templates/modern/li/email.folder.contents.tpl
@@ -8,7 +8,7 @@
- {if $folderInfo.type!='intellifolder'&&!$folderInfo.readonly}
+ {if $folderInfo.type!='intellifolder'&&empty($folderInfo.readonly)}
- {if !$folderInfo.readonly}