Increased source length limit to 200 chars

This commit is contained in:
Marcin Kurczewski 2013-11-01 10:37:35 +01:00
parent c4faa3bf85
commit 579df65c21

View file

@ -40,7 +40,7 @@ class Model_Post extends AbstractModel
{
$source = trim($source);
$maxLength = 100;
$maxLength = 200;
if (strlen($source) > $maxLength)
throw new SimpleException('Source must have at most ' . $maxLength . ' characters');