Skip to content

Commit

Permalink
Refresh system attributes so new logo can show up right after submission
Browse files Browse the repository at this point in the history
We initialize a new RT::System object with current user to update UserLogo
attribute in 9d9e524 to track who makes the change, thus we need to
explicitly refresh attributes of RT->System.
  • Loading branch information
sunnavy committed Dec 30, 2024
1 parent d18adc5 commit 9bf0c0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions share/html/Admin/Tools/Theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ <h2><&|/l&>Customize the RT theme</&></h2>
colors => $colors,
},
);
RT->System->Attributes->RedoSearch;

push @results, loc("Unable to set UserLogo: [_1]", $msg) unless $id;

Expand Down

0 comments on commit 9bf0c0c

Please sign in to comment.