Skip to content

Commit

Permalink
Clear out branch_names(), not system_branches() (which does not exist)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangille committed Jul 2, 2024
1 parent f26dca4 commit 0bcd7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/system_branch.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function __construct($dbh) {

function getBranchNames() {
# empty the result
$this->system_branches = array();
$this->branch_names = array();

# I think we should cache this data too. It changes four times a year.
$sql = "select branch_name from system_branch where branch_name ilike '20%Q%' ORDER BY branch_name DESC";
Expand Down

0 comments on commit 0bcd7c4

Please sign in to comment.