Skip to content
Snippets Groups Projects
Commit 85f14ce4 authored by Peter Rotich's avatar Peter Rotich
Browse files

upgrader: Login banner

Don't crash when login-banner page doesn't exist yet.
parent 3da62beb
No related branches found
No related tags found
No related merge requests found
......@@ -237,6 +237,9 @@ class Page extends VerySimpleModel {
catch (DoesNotExist $ex) {
return null;
}
catch (InconsistentModelException $ex) {
return null;
}
}
function update($vars, &$errors) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment