* Filemanager: fix comments show non-ascii chars as ? (requires DB schema update again!)

This commit is contained in:
Ralf Becker 2015-08-10 09:03:27 +00:00
parent e91a88e80d
commit dab7ab0bdd
2 changed files with 15 additions and 1 deletions

View File

@ -12,7 +12,7 @@
/* Basic information about this app */
$setup_info['phpgwapi']['name'] = 'phpgwapi';
$setup_info['phpgwapi']['title'] = 'EGroupware API';
$setup_info['phpgwapi']['version'] = '14.3.001';
$setup_info['phpgwapi']['version'] = '14.3.002';
$setup_info['phpgwapi']['versions']['current_header'] = '1.29';
$setup_info['phpgwapi']['enable'] = 3;
$setup_info['phpgwapi']['app_order'] = 1;

View File

@ -799,3 +799,17 @@ function phpgwapi_upgrade14_3()
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.001';
}
/**
* Change egw_sqlfs_props.prop_value back to varchar, as it contains user-data eg. comment, which can be non-ascii
*
* @return string
*/
function phpgwapi_upgrade14_3_001()
{
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs_props','prop_value',array(
'type' => 'varchar',
'precision' => '16384'
));
return $GLOBALS['setup_info']['phpgwapi']['currentver'] = '14.3.002';
}