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:
Ingo Schommer 2007-09-14 23:21:35 +00:00
parent 3d612298a4
commit 2a2b1db203

View File

@ -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 {
}
?>