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_pgsql.inc.php cl...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] phpgwapi/inc class.schema_proc_pgsql.inc.php cl...
Date: Tue, 03 Oct 2006 07:13:53 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Sigurd Nes <sigurdne>   06/10/03 07:13:52

Modified files:
        inc            : class.schema_proc_pgsql.inc.php 
                         class.schema_proc.inc.php 

Log message:
        E_NOTICES

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.schema_proc_pgsql.inc.php?cvsroot=phpgwapi&r1=1.18&r2=1.19
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.schema_proc.inc.php?cvsroot=phpgwapi&r1=1.16&r2=1.17

Patches:
Index: class.schema_proc_pgsql.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.schema_proc_pgsql.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- class.schema_proc_pgsql.inc.php     3 Sep 2006 06:15:27 -0000       1.18
+++ class.schema_proc_pgsql.inc.php     3 Oct 2006 07:13:52 -0000       1.19
@@ -12,7 +12,7 @@
        * @license http://www.fsf.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage database
-       * @version $Id: class.schema_proc_pgsql.inc.php,v 1.18 2006/09/03 
06:15:27 skwashd Exp $
+       * @version $Id: class.schema_proc_pgsql.inc.php,v 1.19 2006/10/03 
07:13:52 sigurdne Exp $
        * @link http://www.greatbridge.org/project/phppgadmin
        * @internal SQL for table properties taken from phpPgAdmin Version 2.2.1
        */
@@ -640,7 +640,7 @@
                                                echo '</pre>';
                                        }
 
-                                       if(is_array($this->indexes_sql) && 
count($this->indexes_sql)>0)
+                                       if(isset($this->indexes_sql) && 
is_array($this->indexes_sql) && count($this->indexes_sql)>0)
                                        {
                                                foreach($this->indexes_sql as 
$key => $sIndexSQL)
                                                {

Index: class.schema_proc.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.schema_proc.inc.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- class.schema_proc.inc.php   1 Oct 2006 13:08:49 -0000       1.16
+++ class.schema_proc.inc.php   3 Oct 2006 07:13:52 -0000       1.17
@@ -8,7 +8,7 @@
        * @license http://www.fsf.org/licenses/gpl.html GNU General Public 
License
        * @package phpgwapi
        * @subpackage database
-       * @version $Id: class.schema_proc.inc.php,v 1.16 2006/10/01 13:08:49 
skwashd Exp $
+       * @version $Id: class.schema_proc.inc.php,v 1.17 2006/10/03 07:13:52 
sigurdne Exp $
        */
 
        /**
@@ -337,7 +337,7 @@
                        $sIXSQL = '';
                                           $sFKSQL = '';
 
-                       if(count($aTableDef['pk']) > 0)
+                       if(isset($aTableDef['pk']) && 
is_array($aTableDef['pk']) && count($aTableDef['pk']) > 0)
                        {
                                if(!$this->_GetPK($aTableDef['pk'], $sPKSQL))
                                {
@@ -350,7 +350,7 @@
                                }
                        }
 
-                       if(count($aTableDef['uc']) > 0)
+                       if(isset($aTableDef['uc']) && 
is_array($aTableDef['uc']) && count($aTableDef['uc']) > 0)
                        {
                                if(!$this->_GetUC($aTableDef['uc'], $sUCSQL))
                                {
@@ -363,7 +363,7 @@
                                }
                        }
 
-                       if(count($aTableDef['ix']) > 0)
+                       if(isset($aTableDef['ix']) && 
is_array($aTableDef['ix']) && count($aTableDef['ix']) > 0)
                        {
                                if(!$this->_GetIX($aTableDef['ix'], $sIXSQL))
                                {




reply via email to

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