diff --git a/phpgwapi/setup/setup.inc.php b/phpgwapi/setup/setup.inc.php
index 1b0c9c2147..2df4819e33 100755
--- a/phpgwapi/setup/setup.inc.php
+++ b/phpgwapi/setup/setup.inc.php
@@ -14,7 +14,7 @@
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'phpgwapi';
- $setup_info['phpgwapi']['version'] = '0.9.13.015';
+ $setup_info['phpgwapi']['version'] = '0.9.13.016';
$setup_info['phpgwapi']['versions']['current_header'] = '1.18';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;
diff --git a/phpgwapi/setup/tables_current.inc.php b/phpgwapi/setup/tables_current.inc.php
index 6e6eb1803d..d097701006 100644
--- a/phpgwapi/setup/tables_current.inc.php
+++ b/phpgwapi/setup/tables_current.inc.php
@@ -149,7 +149,7 @@
),
'lang' => array(
'fd' => array(
- 'message_id' => array('type' => 'varchar', 'precision' => 150, 'nullable' => false, 'default' => ''),
+ 'message_id' => array('type' => 'varchar', 'precision' => 255, 'nullable' => false, 'default' => ''),
'app_name' => array('type' => 'varchar', 'precision' => 100, 'nullable' => false, 'default' => 'common'),
'lang' => array('type' => 'varchar', 'precision' => 5, 'nullable' => false, 'default' => ''),
'content' => array('type' => 'text')
diff --git a/phpgwapi/setup/tables_update.inc.php b/phpgwapi/setup/tables_update.inc.php
index 2030c2996c..67103af36d 100644
--- a/phpgwapi/setup/tables_update.inc.php
+++ b/phpgwapi/setup/tables_update.inc.php
@@ -1278,7 +1278,7 @@
);
$phpgw_setup->oProc->query("SELECT * FROM addressbook");
- echo '
numrows: ' . $phpgw_setup->oProc->num_rows;
+ /* echo '
numrows: ' . $phpgw_setup->oProc->num_rows; */
while ($phpgw_setup->oProc->next_record())
{
@@ -2206,4 +2206,22 @@
$GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.015';
return $GLOBALS['setup_info']['phpgwapi']['currentver'];
}
+
+ $test[] = '0.9.13.015';
+ function phpgwapi_upgrade0_9_13_015()
+ {
+ $GLOBALS['phpgw_setup']->oProc->AlterColumn(
+ 'lang',
+ 'message_id',
+ array(
+ 'type' => 'varchar',
+ 'precision' => 255,
+ 'nullable' => false,
+ 'default' => ''
+ )
+ );
+
+ $GLOBALS['setup_info']['phpgwapi']['currentver'] = '0.9.13.016';
+ return $GLOBALS['setup_info']['phpgwapi']['currentver'];
+ }
?>