google-code-export / brewcompetitiononlineentry

Automatically exported from code.google.com/p/brewcompetitiononlineentry
0 stars 0 forks source link

"Please register or log in" message not appearing for section=brewer #425

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
v1.3.0.4

The "brewer" section (eg: 
http://domain.com/index.php?section=brewer&action=edit&id=1) does not display 
the "Please register or log in to access this area." message when you're not 
logged in (just displays a blank page). 

$section == "brewer"
is missing from the following line in index.php which causes this to be omitted:

 if ((!isset($_SESSION['loginUsername'])) && (($section == "admin") || ($section == "brew") || ($section == "user") || ($section == "judge") || ($section == "list") || ($section == "pay") || ($section == "beerXML"))) { ?>

Original issue reported on code.google.com by gra...@chromosphere.co.uk on 24 Jun 2014 at 8:44

GoogleCodeExporter commented 9 years ago
This will be incorporated into the next version.

Original comment by gpzhumphrey on 28 Oct 2014 at 9:23

GoogleCodeExporter commented 9 years ago
The attached file will fix this issue. Upload to the root folder.

Original comment by gpzhumphrey on 4 Nov 2014 at 8:46

Attachments: