From ef7f3c2bf1197c0a49630198ab2f19f5a2d1d9a3 Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 23 Mar 2007 16:31:35 +0000 Subject: [PATCH] fixes #293 --- lib/Doctrine/Configurable.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Configurable.php b/lib/Doctrine/Configurable.php index 9912b28b2..e693e1a74 100644 --- a/lib/Doctrine/Configurable.php +++ b/lib/Doctrine/Configurable.php @@ -94,8 +94,12 @@ abstract class Doctrine_Configurable } break; case Doctrine::ATTR_CREATE_TABLES: - $attribute = Doctrine::ATTR_EXPORT; - $value = Doctrine::EXPORT_ALL; + $attribute = Doctrine::ATTR_EXPORT; + if ($value) { + $value = Doctrine::EXPORT_ALL; + } else { + $value = Doctrine::EXPORT_NONE; + } break; case Doctrine::ATTR_ACCESSORS: $accessors = array('none','get','set','both');