diff --git a/application/classes/Ushahidi/Validator/Post/Create.php b/application/classes/Ushahidi/Validator/Post/Create.php index ee0f2e4bbc..e44c29af2f 100644 --- a/application/classes/Ushahidi/Validator/Post/Create.php +++ b/application/classes/Ushahidi/Validator/Post/Create.php @@ -184,9 +184,6 @@ public function checkValues(Validation $validation, $attributes, $data) { // Check attribute exists $attribute = $this->attribute_repo->getByKey($key, $data['form_id'], true); - if (! $attribute->id) { - - } if (! $attribute->id) { $validation->error('values', 'attributeDoesNotExist', [$key]);