mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
table_name returns empty if we have no db-connection instead of throwing error-messages (used in setup)
Note: daves OOP changes still needs to be merged to HEAD!!!
This commit is contained in:
parent
1f87ecc966
commit
c30cd51f22
@ -579,6 +579,10 @@
|
|||||||
|
|
||||||
function table_names()
|
function table_names()
|
||||||
{
|
{
|
||||||
|
if (!$this->Link_ID)
|
||||||
|
{
|
||||||
|
return array();
|
||||||
|
}
|
||||||
$return = Array();
|
$return = Array();
|
||||||
$this->query('SHOW TABLES',__LINE__,__FILE__);
|
$this->query('SHOW TABLES',__LINE__,__FILE__);
|
||||||
$i=0;
|
$i=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user