Skip to content
Snippets Groups Projects
Commit 58e703e2 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #68 change length < 33

parent daec6a09
No related branches found
No related tags found
No related merge requests found
......@@ -152,7 +152,7 @@ class EntityController
$data = $request->getParams();
$check = Validator::stringType()->notEmpty()->validate($data['entity_id']) && preg_match("/^[\w-]*$/", $data['entity_id']) && (strlen($data['entity_id']) < 32);
$check = Validator::stringType()->notEmpty()->validate($data['entity_id']) && preg_match("/^[\w-]*$/", $data['entity_id']) && (strlen($data['entity_id']) < 33);
$check = $check && Validator::stringType()->notEmpty()->validate($data['entity_label']);
$check = $check && Validator::stringType()->notEmpty()->validate($data['short_label']);
$check = $check && Validator::stringType()->notEmpty()->validate($data['entity_type']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment