Permalink
Browse files

Fixes #2049 Errors when changing announcements

  • Loading branch information...
1 parent e6254a3 commit b41b5734fb741756cf761b6c5038684ef4cd37ff @Stefan-ST Stefan-ST committed Sep 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 modcp.php
View
@@ -80,6 +80,10 @@
$unviewableforums = str_replace("'", '', $unviewableforums);
$unviewableforums = explode(',', $unviewableforums);
}
+else
+{
+ $unviewableforums = array();
+}
// Fetch the Mod CP menu
eval("\$modcp_nav = \"".$templates->get("modcp_nav")."\";");

0 comments on commit b41b573

Please sign in to comment.