phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.db_mysql.inc.php, 1.30.2.3.2.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.db_mysql.inc.php, 1.30.2.3.2.1, 1.30.2.3.2.2
Date: Wed, 13 Aug 2003 06:52:02 -0400

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv16850

Modified Files:
      Tag: Version-0_9_16-branch
        class.db_mysql.inc.php 
Log Message:
table_name returns empty if we have no db-connection instead of throwing 
error-messages (used in setup)


Index: class.db_mysql.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.db_mysql.inc.php,v
retrieving revision 1.30.2.3.2.1
retrieving revision 1.30.2.3.2.2
diff -C2 -r1.30.2.3.2.1 -r1.30.2.3.2.2
*** class.db_mysql.inc.php      16 Jul 2003 06:39:26 -0000      1.30.2.3.2.1
--- class.db_mysql.inc.php      13 Aug 2003 10:52:00 -0000      1.30.2.3.2.2
***************
*** 450,453 ****
--- 450,457 ----
                function table_names()
                {
+                       if (!$this->Link_ID)
+                       {
+                               return array();
+                       }
                        $return = Array();
                        $this->query("SHOW TABLES");





reply via email to

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