summaryrefslogtreecommitdiff
path: root/actions/siteadminpanel.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-03-19 10:30:04 -0700
committerZach Copley <zach@status.net>2010-03-19 10:30:04 -0700
commit348412f9c9a033c1bec1451dd54536a1794e0133 (patch)
treea68597011f1d2b2a0082cc5f2e9e653429a3d344 /actions/siteadminpanel.php
parentfb50a2d83c9a530479874d51f203ad8b3d4c9a7a (diff)
Allow admins to set a min site textlimit of 0 (unlimited)
Diffstat (limited to 'actions/siteadminpanel.php')
-rw-r--r--actions/siteadminpanel.php4
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