mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-20 19:38:37 +00:00
prevent NPE
This commit is contained in:
@@ -39,7 +39,8 @@ public class CustomCssServlet extends HttpServlet {
|
||||
return userSettingsDAO.findByUser(user);
|
||||
}
|
||||
}.run();
|
||||
if (settings == null) {
|
||||
|
||||
if (settings == null || settings.getCustomCss() == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user