#372 - Allow registration doesn't block guest registrations

Description

What did you do to cause this?

When I set to disallow registration by guest user

What page were you on?

/register

What PHP and MariaDB versions do you run?

5.4.x

Describe the defect:

Even when I set No to "Allow Registration" (in AdminCP), the link still appears on top of the page.

The solution:

Line: 13 of /vendor/traq/views/default/layouts/_meta_nav.phtml:

<?php if (settings('allow_registration')) { ?>
no changes in the link line: <li<?php echo iif(active_nav('/register'), ' class="active"')?>><?php echo HTML::link(l('register'), '/register'); ?></li>
<?php } ?>

Activity

Jack closed as Fixed 12 years and 1 month ago

Status

Fixed
-
Normal

Details

Defect
3.3
-
3.2.2
Normal

Tracking

Silvio Delgado
12 years and 2 months ago
11 years and 11 months ago
1
-
-