[Top][All Lists]
[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");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.db_mysql.inc.php, 1.30.2.3.2.1, 1.30.2.3.2.2,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php, 1.15.2.9, 1.15.2.10 class.setup_html.inc.php, 1.7.2.2, 1.7.2.3
- Next by Date:
[Phpgroupware-cvs] CVS: setup/templates/default login_stage_header.tpl, 1.2.4.1, 1.2.4.2 setup_db_blocks.tpl, 1.5, 1.5.2.1
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.setup.inc.php, 1.15.2.9, 1.15.2.10 class.setup_html.inc.php, 1.7.2.2, 1.7.2.3
- Next by thread:
[Phpgroupware-cvs] CVS: setup/templates/default login_stage_header.tpl, 1.2.4.1, 1.2.4.2 setup_db_blocks.tpl, 1.5, 1.5.2.1
- Index(es):