diff options
| author | Joas Schilling <nickvergessen@gmx.de> | 2012-08-11 11:49:48 +0200 |
|---|---|---|
| committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-11 11:49:48 +0200 |
| commit | 06c8e19af3544e0eb3462c24096c4db3da685d6b (patch) | |
| tree | dc3d4d2db65e82a22f3728b4a146e4de82988f13 | |
| parent | c362434890c075a5c04cfcd40f2809226e33c229 (diff) | |
| download | forums-06c8e19af3544e0eb3462c24096c4db3da685d6b.tar forums-06c8e19af3544e0eb3462c24096c4db3da685d6b.tar.gz forums-06c8e19af3544e0eb3462c24096c4db3da685d6b.tar.bz2 forums-06c8e19af3544e0eb3462c24096c4db3da685d6b.tar.xz forums-06c8e19af3544e0eb3462c24096c4db3da685d6b.zip | |
[feature/php-events] Readd comment from d06adb06e907e31918130a6ef010b73d454f396c
PHPBB3-9550
| -rw-r--r-- | phpBB/mcp.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php index 730af65e3d..d04a297cf9 100644 --- a/phpBB/mcp.php +++ b/phpBB/mcp.php @@ -887,5 +887,7 @@ function check_ids(&$ids, $table, $sql_id, $acl_list = false, $single_forum = fa return false; } + // If forum id is false and ids populated we may have only global announcements selected (returning 0 because of (int) $forum_id) + return ($single_forum === false) ? true : (int) $forum_id; } |
