phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/inc/class.schema_proc.inc.php, 1.7


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/inc/class.schema_proc.inc.php, 1.7
Date: Fri, 30 Jul 2004 23:47:03 +0200

Update of /phpgwapi/inc
Modified Files:
        Branch: 
          class.schema_proc.inc.php

date: 2004/07/30 21:47:03;  author: skwashd;  state: Exp;  lines: +2 -2

Log Message:
merge from 16
=====================================================================
Index: phpgwapi/inc/class.schema_proc.inc.php
diff -u phpgwapi/inc/class.schema_proc.inc.php:1.6 
phpgwapi/inc/class.schema_proc.inc.php:1.7
--- phpgwapi/inc/class.schema_proc.inc.php:1.6  Tue Jul  6 20:33:21 2004
+++ phpgwapi/inc/class.schema_proc.inc.php      Fri Jul 30 21:47:03 2004
@@ -430,7 +430,7 @@
                                {
                                        $sFieldSQL .= " DEFAULT 0";
                                }                                               
                
-                               elseif(intval($sDefault) == 0 && $sDefault != 
'')
+                               elseif(is_numeric($sDefault) == 0 && $sDefault 
!= '')
                                {
                                        if($DEBUG) { echo'<br>_GetFieldSQL(): 
Calling TranslateDefault for "' . $sDefault . '"'; }
                                        // Get default DDL - useful for 
differences in date defaults (eg, now() vs. getdate())




reply via email to

[Prev in Thread] Current Thread [Next in Thread]