Skip to content

Commit

Permalink
Merge branch 'livity-reintegration'
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed Jun 22, 2016
2 parents 74af3cb + 3fadbbb commit 5d3d8a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions application/classes/Ushahidi/Validator/Post/Create.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 5d3d8a1

Please sign in to comment.