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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user