Skip to content

Commit

Permalink
Address issues #845 and #846
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffhumphrey committed Oct 30, 2017
1 parent 2a44e55 commit 1b70004
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/constants.inc.php

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions includes/process/process_brewer_info.inc.php
Expand Up @@ -33,8 +33,9 @@
$brewerClubs = $purifier->purify($_POST['brewerClubs']);
$brewerClubsConcat = $brewerClubs."|".$brewerClubs;
if (!in_array($brewerClubsConcat,$club_array)) {
if (($_POST['brewerClubs'] == "Other") && (!empty($_POST['brewerClubsOther']))) {
$brewerClubs = ucwords($brewerClubs);
if ($_POST['brewerClubs'] == "Other") {
if (!empty($_POST['brewerClubsOther'])) $brewerClubs = ucwords($purifier->purify($_POST['brewerClubsOther']));
else $brewerClubs = "Other";
}
else $brewerClubs = "";
}
Expand Down

0 comments on commit 1b70004

Please sign in to comment.