Node.js based forum software built for the modern web
parantheses
barisusakli0d839bdb2c4a
diff --git a/public/src/modules/helpers.js b/public/src/modules/helpers.jsindex d9bff81edb..f48a7e8c00 100644--- a/public/src/modules/helpers.js+++ b/public/src/modules/helpers.js@@ -14,9 +14,9 @@properties = item.properties;if (properties) {- if (properties.loggedIn && !data.loggedIn ||- properties.adminOnly && !data.isAdmin ||- properties.installed && properties.installed.search && !data.searchEnabled) {+ if ((properties.loggedIn && !data.loggedIn) ||+ (properties.adminOnly && !data.isAdmin) ||+ (properties.installed && properties.installed.search && !data.searchEnabled)) {return false;}}