check correct setting in Profile bio length

This commit is contained in:
Evan Prodromou 2009-08-21 07:48:14 -04:00
parent d2d3418b8a
commit 4d3e2daf53

View File

@ -463,7 +463,7 @@ class Profile extends Memcached_DataObject
static function maxBio()
{
$biolimit = common_config('message', 'biolimit');
$biolimit = common_config('profile', 'biolimit');
// null => use global limit (distinct from 0!)
if (is_null($biolimit)) {
$biolimit = common_config('site', 'textlimit');