diff --git a/phpgwapi/inc/class.schema_proc_pgsql.inc.php b/phpgwapi/inc/class.schema_proc_pgsql.inc.php
index f5c0533df1..f6e8a0c331 100644
--- a/phpgwapi/inc/class.schema_proc_pgsql.inc.php
+++ b/phpgwapi/inc/class.schema_proc_pgsql.inc.php
@@ -598,7 +598,7 @@
}
// renameing existing indexes and primary keys
$indexes = $oProc->m_odb->Link_ID->MetaIndexes($sOldTableName,True);
- if($GLOBALS['DEBUG']) { echo '
RenameTable(): Fetching indexes: '.print_r($indexes,True); }
+ if($GLOBALS['DEBUG']) { echo '
RenameTable(): Fetching indexes: '; _debug_array($indexes); }
foreach($indexes as $name => $data)
{
$new_name = str_replace($sOldTableName,$sNewTableName,$name);