Skip to content

Commit

Permalink
Issue #534 by pjohans: More correct use method alma_reservation_defau…
Browse files Browse the repository at this point in the history
…lt_interest_period to get interest period.
  • Loading branch information
pjohans committed Oct 13, 2014
1 parent 794e19d commit 8c1155c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/alma.reservation.inc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function alma_reservation_options($account, $default_value = '') {

// Get values.
$preferred_branch = $wrapper->field_alma_preferred_branch->value();
$interest_period = (variable_get('alma_default_interest_period',FALSE)) ? variable_get('alma_default_interest_period') :$wrapper->field_alma_interest_period->value();
$interest_period = alma_reservation_default_interest_period($profile);
}

// Set default value in the selection box if given else use preferred_branch.
Expand Down

0 comments on commit 8c1155c

Please sign in to comment.