@@ 16-18 (lines=3) @@ | ||
13 | ||
14 | include_once __DIR__ . '/header.php'; |
|
15 | ||
16 | if (!Request::getInt('forum', 0, 'GET')) { |
|
17 | redirect_header(XOOPS_URL . '/index.php', 2, _MD_NEWBB_ERRORFORUM); |
|
18 | } |
|
19 | include_once __DIR__ . '/include/functions.read.php'; |
|
20 | ||
21 | /* |
@@ 42-45 (lines=4) @@ | ||
39 | redirect_header(Request::getString('HTTP_REFERER', '', 'SERVER'), 2, _NOPERM); |
|
40 | } |
|
41 | ||
42 | if (!Request::getInt('option_id', 0, 'POST')) { |
|
43 | // irmtfan - add error message - simple url |
|
44 | redirect_header(XOOPS_URL . "/modules/newbb/viewtopic.php?topic_id={$topic_id}", 1, _MD_NEWBB_POLL_NOOPTION); |
|
45 | } |
|
46 | // poll module |
|
47 | $pollModuleHandler = $moduleHandler->getByDirname($GLOBALS['xoopsModuleConfig']['poll_module']); |
|
48 | if (is_object($pollModuleHandler) && $pollModuleHandler->getVar('isactive')) { |