mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mlanthaler: Small fix to prevent E_NOTICEs.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41815 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3d612298a4
commit
2a2b1db203
@ -9,9 +9,11 @@
|
||||
* ErrorPage holds the content for the page of an error response.
|
||||
*/
|
||||
class ErrorPage extends Page {
|
||||
|
||||
static $db = array(
|
||||
"ErrorCode" => "Int",
|
||||
);
|
||||
|
||||
static $defaults = array(
|
||||
"ShowInMenus" => 0,
|
||||
);
|
||||
@ -37,7 +39,8 @@ class ErrorPage extends Page {
|
||||
Database::alteration_message("404 page created","created");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function getCMSFields() {
|
||||
$fields = parent::getCMSFields();
|
||||
|
||||
@ -99,7 +102,8 @@ class ErrorPage extends Page {
|
||||
* Controller for ErrorPages.
|
||||
*/
|
||||
class ErrorPage_Controller extends Page_Controller {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user