[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc/class.schema_proc.inc.php, 1.2.2.12
From: |
nomail |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc/class.schema_proc.inc.php, 1.2.2.12 |
Date: |
Wed, 14 Jul 2004 03:14:24 +0200 |
Update of /phpgwapi/inc
Modified Files:
Branch: Version-0_9_16-branch
class.schema_proc.inc.php
date: 2004/07/14 01:14:24; author: skwashd; state: Exp; lines: +2 -2
Log Message:
fix bug #6163
=====================================================================
Index: phpgwapi/inc/class.schema_proc.inc.php
diff -u phpgwapi/inc/class.schema_proc.inc.php:1.2.2.11
phpgwapi/inc/class.schema_proc.inc.php:1.2.2.12
--- phpgwapi/inc/class.schema_proc.inc.php:1.2.2.11 Tue Jul 6 20:20:30 2004
+++ phpgwapi/inc/class.schema_proc.inc.php Wed Jul 14 01:14:24 2004
@@ -430,7 +430,7 @@
{
$sFieldSQL .= " DEFAULT 0";
}
- elseif(intval($sDefault) == 0 && $sDefault !=
'')
+ elseif(!is_numeric($sDefault) && $sDefault !=
'')
{
if($DEBUG) { echo'<br>_GetFieldSQL():
Calling TranslateDefault for "' . $sDefault . '"'; }
// Get default DDL - useful for
differences in date defaults (eg, now() vs. getdate())
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc/class.schema_proc.inc.php, 1.2.2.12,
nomail <=