From e286068cc92b2f7babe1ee8527b0fb27f130cf1c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sun, 16 Sep 2007 14:43:54 +0000 Subject: [PATCH] mlanthaler: Forgot to remove debug code, sorry :-) (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42076 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/fieldtypes/Int.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/fieldtypes/Int.php b/core/model/fieldtypes/Int.php index 34f600a09..8b2e8913b 100644 --- a/core/model/fieldtypes/Int.php +++ b/core/model/fieldtypes/Int.php @@ -2,7 +2,7 @@ class Int extends DBField { - function __construct($name, $defaultVal = 0) { print "Int $name default $defaultVal
\n"; + function __construct($name, $defaultVal = 0) { $this->defaultVal = is_int($defaultVal) ? $defaultVal : 0;