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