Лишняя строчка
This commit is contained in:
parent
6e488966ff
commit
5309e6b601
|
|
@ -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] = 'Слишком короткое описание';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue