From 348412f9c9a033c1bec1451dd54536a1794e0133 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 19 Mar 2010 10:30:04 -0700 Subject: Allow admins to set a min site textlimit of 0 (unlimited) --- actions/siteadminpanel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actions/siteadminpanel.php') 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 -- cgit v1.2.3-54-g00ecf