mirror of
https://github.com/HangarMC/Hangar.git
synced 2024-11-27 06:01:08 +08:00
Fix saving of empty sponsors
Fixes HANGAR-1J
This commit is contained in:
parent
bddd181cad
commit
133233611c
@ -253,7 +253,7 @@ public class ProjectService extends HangarComponent {
|
||||
}
|
||||
|
||||
final ProjectTable projectTable = this.getProjectTable(author, slug);
|
||||
projectTable.setSponsors(content);
|
||||
projectTable.setSponsors(trimmedContent);
|
||||
this.projectsDAO.update(projectTable);
|
||||
// TODO what settings changed
|
||||
projectTable.logAction(this.actionLogger, LogAction.PROJECT_SETTINGS_CHANGED, "", "");
|
||||
|
Loading…
Reference in New Issue
Block a user