Skip to content

Commit

Permalink
fix template error in moremember.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
ctfliblime committed Mar 21, 2011
1 parent 91f1639 commit dcd788b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ if (nodename =="barcodes[]"){
<table border="0"><tr><td>
<select name="previous_cardnumber" id="previous_cardnumber" size="<!-- TMPL_VAR NAME="previousCardnumbersCount" -->">
<!-- TMPL_LOOP NAME="previousCardnumbersLoop" -->
<!--TMPL_IF NAME="previous_cardnumber" -->
<!-- TMPL_IF NAME="previous_cardnumber" -->
<option value="<!-- TMPL_VAR NAME="previous_cardnumber" -->"><!-- TMPL_VAR NAME="previous_cardnumber" --> : <!-- TMPL_VAR NAME="previous_cardnumber_date" --></option>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
Expand Down Expand Up @@ -416,8 +416,6 @@ if (nodename =="barcodes[]"){

<TMPL_INCLUDE NAME="member-finesholdsissues.inc">

<!-- /TMPL_IF -->

</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion members/moremember.pl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ BEGIN
}

$data->{'ethnicity'} = fixEthnicity( $data->{'ethnicity'} );
$data->{ "sex_".$data->{'sex'}."_p" } = 1;
$data->{ 'sex_'. ($data->{sex} // '') .'_p' } = 1;

if ( $category_type eq 'C') {
if ($data->{'guarantorid'} ne '0' ) {
Expand Down

0 comments on commit dcd788b

Please sign in to comment.