FSN#31532 Geen forumrequest als S("fac_nieuws_forum_max") == 0

svn path=/Website/branches/v5.4.4/; revision=23903
This commit is contained in:
Jos Groot Lipman
2015-01-21 08:39:32 +00:00
parent 2c55234c9e
commit 6c1333d586

View File

@@ -20,7 +20,7 @@ if (hasNews)
function injectNews ()
{
var hasNews = S("fac_nieuws_forum_url") &&
var hasNews = S("fac_nieuws_forum_url") && S("fac_nieuws_forum_max") > 0 &&
(user.checkAutorisation("WEB_PRSSYS", true) || user.checkAutorisation("WEB_FACMGT", true));
if (!hasNews)
return;