Revision: 21017
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=21017
Author: sigurdne
Date: 2010-02-07 10:20:40 +0000 (Sun, 07 Feb 2010)
Log Message:
-----------
Fix: Need fetchmode both for table def 4736:4740
Modified Paths:
--------------
people/sigurdne/modules/phpgwapi/trunk/inc/class.custom_fields.inc.php
Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.custom_fields.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.custom_fields.inc.php
2010-02-07 10:19:00 UTC (rev 21016)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.custom_fields.inc.php
2010-02-07 10:20:40 UTC (rev 21017)
@@ -1183,12 +1183,14 @@
*/
public function get_table_def($table = '', $table_def = array())
{
- if( !$GLOBALS['phpgw_setup']->_oProc
- || !is_object($GLOBALS['phpgw_setup']->_oProc) )
+ if( !$GLOBALS['phpgw_setup']->oProc
+ || !is_object($GLOBALS['phpgw_setup']->oProc) )
{
$GLOBALS['phpgw_setup']->oProc =& $this->_oProc;
}
+ $GLOBALS['phpgw_setup']->oProc->m_odb->fetchmode =
'BOTH';
+
$setup = createobject('phpgwapi.setup_process');
$tableinfo = $setup->sql_to_array($table);
_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs