From 9bd25d9aa4578b357e05538a752d196a09c7f949 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sat, 4 Aug 2001 13:26:23 +0000 Subject: [PATCH] php3 (array) fixes --- phpgwapi/setup/tables_baseline.inc.php | 2 +- phpgwapi/setup/tables_update.inc.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/phpgwapi/setup/tables_baseline.inc.php b/phpgwapi/setup/tables_baseline.inc.php index 01801071d2..d05cc2b0b3 100644 --- a/phpgwapi/setup/tables_baseline.inc.php +++ b/phpgwapi/setup/tables_baseline.inc.php @@ -164,7 +164,7 @@ 'ab_zip' => array('type' => 'varchar', 'precision' => 255), 'ab_bday' => array('type' => 'varchar', 'precision' => 255), 'ab_notes' => array('type' => 'text'), - 'ab_company' => array('type' => 'varchar', 'precision' => 255), + 'ab_company' => array('type' => 'varchar', 'precision' => 255) ), 'pk' => array('ab_id'), 'fk' => array(), diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php index 9faea89c4a..b722428f9f 100644 --- a/phpgwapi/setup/tables_update.inc.php +++ b/phpgwapi/setup/tables_update.inc.php @@ -1632,7 +1632,7 @@ 'phpgw_nextid', array( 'fd' => array( 'appname' => array('type' => 'varchar', 'precision' => 25, 'nullable' => False), - 'id' => array('type' => 'int', 'precision' => 4), + 'id' => array('type' => 'int', 'precision' => 4) ), 'pk' => array(), 'fk' => array(), @@ -1905,7 +1905,6 @@ $phpgw_setup->oProc->AddColumn('phpgw_access_log','account_id',array('type' => 'int', 'precision' => 4, 'default' => 0, 'nullable' => False)); - global $phpgw; class phpgw { var $common;