@@ 38-40 (lines=3) @@ | ||
35 | } |
|
36 | ||
37 | // Check user permissions |
|
38 | if ((-1 === $user->getUserId() && !$faqConfig->get('records.allowNewFaqsForGuests'))) { |
|
39 | header('Location:'.$faqSystem->getSystemUri($faqConfig).'?action=login'); |
|
40 | } |
|
41 | ||
42 | $captcha = new Captcha($faqConfig); |
|
43 | $captcha->setSessionId($sids); |
@@ 35-37 (lines=3) @@ | ||
32 | } |
|
33 | ||
34 | // Check user permissions |
|
35 | if ((-1 === $user->getUserId() && !$faqConfig->get('records.allowQuestionsForGuests'))) { |
|
36 | header('Location:'.$faqSystem->getSystemUri($faqConfig).'?action=login'); |
|
37 | } |
|
38 | ||
39 | $captcha = new Captcha($faqConfig); |
|
40 | $captcha->setSessionId($sids); |