[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php,1.18
From: |
fipsfuchs |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc class.db.inc.php,1.18 |
Date: |
Thu, 19 May 2005 12:04:00 +0200 |
Update of phpgwapi/inc
Modified Files:
Branch: MAIN
class.db.inc.php lines: +6 -2
Log Message:
make sure that funciont table_names always returns an array
====================================================
Index: phpgwapi/inc/class.db.inc.php
diff -u phpgwapi/inc/class.db.inc.php:1.17 phpgwapi/inc/class.db.inc.php:1.18
--- phpgwapi/inc/class.db.inc.php:1.17 Sun May 15 11:57:53 2005
+++ phpgwapi/inc/class.db.inc.php Thu May 19 10:04:51 2005
@@ -573,7 +573,11 @@
{
$this->connect();
}
- return $this->adodb->MetaTables('TABLES');
+ if(!($return =& $this->adodb->MetaTables('TABLES')))
+ {
+ $return = array();
+ }
+ return $return;
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc class.db.inc.php,1.18,
fipsfuchs <=