From 79ee5e066cc3d4346b976982c14c247d87f8b0c4 Mon Sep 17 00:00:00 2001 From: ysnglee2000 Date: Tue, 3 Aug 2010 15:47:19 +0000 Subject: [PATCH] =?UTF-8?q?#19052585=20=EB=B0=8F=20#19045610=20=EC=9D=98?= =?UTF-8?q?=20r7621=20=EC=97=90=EC=84=9C=20=EB=85=BC=EB=A6=AC=20=EC=97=B0?= =?UTF-8?q?=EC=82=B0=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7624 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/db/DBCubrid.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/db/DBCubrid.class.php b/classes/db/DBCubrid.class.php index 7d6376eb7..434ae368d 100644 --- a/classes/db/DBCubrid.class.php +++ b/classes/db/DBCubrid.class.php @@ -374,7 +374,7 @@ break; } - if($default && ($type != 'varchar' || $type != 'char')) $default = "'".$default."'"; + if(isset ($default) && ($type == 'varchar' || $type == 'char')) $default = "'".$default."'"; $column_schema[] = sprintf('"%s" %s%s %s %s', $name,