Skip to content

Commit

Permalink
MINOR Define default error code to avoid preview pane error in CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Rainville committed Dec 4, 2018
1 parent 6fa36d0 commit ee02c78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ErrorPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ class ErrorPage extends Page

private static $defaults = array(
"ShowInMenus" => 0,
"ShowInSearch" => 0
"ShowInSearch" => 0,
"ErrorCode" => 400
);

private static $table_name = 'ErrorPage';
Expand Down

0 comments on commit ee02c78

Please sign in to comment.