@@ -62,9 +62,12 @@ |
||
62 | 62 | <input type="hidden" name="showcat" value="<?php echo $showcat ?>"> |
63 | 63 | <?php if ($faqConfig->get('security.permLevel') !== 'basic'): ?> |
64 | 64 | <input type="hidden" name="restricted_groups[]" value="<?php echo $group_permission[0] ?>"> |
65 | - <?php else: ?> |
|
65 | + <?php else { |
|
66 | + : ?> |
|
66 | 67 | <input type="hidden" name="restricted_groups[]" value="-1"> |
67 | - <?php endif; ?> |
|
68 | + <?php endif; |
|
69 | +} |
|
70 | +?> |
|
68 | 71 | <input type="hidden" name="restricted_users" value="<?php echo $user_permission[0] ?>"> |
69 | 72 | <input type="hidden" name="csrf" value="<?php echo $user->getCsrfTokenFromSession() ?>"> |
70 | 73 | <input type="hidden" name="active" value="<?php echo $category->categoryName[$id]['active'] ?>"> |