From 3edc6525f2402d56a9094a504a515c164a97c24f Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 24 May 2004 14:23:46 +0000 Subject: [PATCH] fix for php 4.1 (print_r with 2 params) --- phpgwapi/inc/class.schema_proc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.schema_proc.inc.php b/phpgwapi/inc/class.schema_proc.inc.php index 1e276fa7c6..c828596054 100644 --- a/phpgwapi/inc/class.schema_proc.inc.php +++ b/phpgwapi/inc/class.schema_proc.inc.php @@ -227,7 +227,7 @@ // other colum or function to set the value of a new or changed column function RefreshTable($sTableName, $aTableDef, $aDefaults=False) { - if($GLOBALS['DEBUG']) { echo "

schema_proc::RefreshTable('$sTableName',

".print_r($aTableDef,True).")\n\nm_aTables[$sTableName]=".print_r($this->m_aTables[$sTableName],True)."
\n"; } + if($GLOBALS['DEBUG']) { echo "

schema_proc::RefreshTable('$sTableName',"._debug_array($aTableDef,False).")

m_aTables[$sTableName]="._debug_array($this->m_aTables[$sTableName],False)."\n"; } $old_fd = $this->m_aTables[$sTableName]['fd']; $Ok = $this->m_oDeltaProc->RefreshTable($this, $this->m_aTables, $sTableName, $aTableDef);