From b1c307c40a53028188e652e7c46c0c74afc5e3a8 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 17 Apr 2007 22:03:11 +0000 Subject: [PATCH] --- lib/Doctrine/Table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Table.php b/lib/Doctrine/Table.php index 2f7aeed90..ccd93b1d6 100644 --- a/lib/Doctrine/Table.php +++ b/lib/Doctrine/Table.php @@ -350,7 +350,7 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable break; case 'boolean': if (isset($definition['default'])) { - $definition['default'] = (int) $definition['default']; + $definition['default'] = $this->conn->convertBooleans($definition['default']); } break; }