Лишняя строчка

This commit is contained in:
Krivchikov Dmitry 2015-11-26 23:43:17 +03:00
parent 6e488966ff
commit 5309e6b601
1 changed files with 0 additions and 1 deletions

View File

@ -235,7 +235,6 @@ class JsonController extends Controller
}
$discriptionLimit = (App::$user && App::$user->isAdmin) ? 20 : 500;
App::log('user', App::$user);
if (!( isset($_POST['description']) && $_POST['description'] && strlen($_POST['description']) > $discriptionLimit )) {
$errors[3] = 'Слишком короткое описание';
}