Increased source length limit to 200 chars
This commit is contained in:
parent
c4faa3bf85
commit
579df65c21
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Model_Post extends AbstractModel
|
||||||
{
|
{
|
||||||
$source = trim($source);
|
$source = trim($source);
|
||||||
|
|
||||||
$maxLength = 100;
|
$maxLength = 200;
|
||||||
if (strlen($source) > $maxLength)
|
if (strlen($source) > $maxLength)
|
||||||
throw new SimpleException('Source must have at most ' . $maxLength . ' characters');
|
throw new SimpleException('Source must have at most ' . $maxLength . ' characters');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue