This commit is contained in:
Pierre Rudloff 2017-12-23 01:32:47 +01:00
parent 70ab9dc9be
commit da6a7b1fce
1 changed files with 1 additions and 1 deletions

View File

@ -3311,7 +3311,7 @@ function api_statusnet_config($type)
$private = ((Config::get('system', 'block_public')) ? 'true' : 'false');
$textlimit = (string) (($a->config['max_import_size']) ? $a->config['max_import_size'] : 200000);
if ($a->config['api_import_size']) {
$texlimit = string($a->config['api_import_size']);
$textlimit = (string) $a->config['api_import_size'];
}
$ssl = ((Config::get('system', 'have_ssl')) ? 'true' : 'false');
$sslserver = (($ssl === 'true') ? str_replace('http:', 'https:', System::baseUrl()) : '');