diff options
author | Zach Copley <zach@status.net> | 2010-03-19 10:30:04 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-03-19 10:30:04 -0700 |
commit | 348412f9c9a033c1bec1451dd54536a1794e0133 (patch) | |
tree | a68597011f1d2b2a0082cc5f2e9e653429a3d344 /actions | |
parent | fb50a2d83c9a530479874d51f203ad8b3d4c9a7a (diff) |
Allow admins to set a min site textlimit of 0 (unlimited)
Diffstat (limited to 'actions')
-rw-r--r-- | actions/siteadminpanel.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/siteadminpanel.php b/actions/siteadminpanel.php index cb3c2e8fd..e5482987f 100644 --- a/actions/siteadminpanel.php +++ b/actions/siteadminpanel.php @@ -161,8 +161,8 @@ class SiteadminpanelAction extends AdminPanelAction // Validate text limit - if (!Validate::number($values['site']['textlimit'], array('min' => 140))) { - $this->clientError(_("Minimum text limit is 140 characters.")); + if (!Validate::number($values['site']['textlimit'], array('min' => 0))) { + $this->clientError(_("Minimum text limit is 0 (unlimited).")); } // Validate dupe limit |