Skip to content

Commit

Permalink
Remove unrequired extra_field_type in extraFieldValue item deletion q…
Browse files Browse the repository at this point in the history
…uery
  • Loading branch information
ywarnier committed Aug 18, 2017
1 parent f0879c5 commit 8a5a595
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main/inc/lib/extra_field_value.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -888,8 +888,7 @@ public function delete_values_by_handler_and_field_id($item_id, $field_id)
$sql = "DELETE FROM {$this->table}
WHERE
item_id = '$item_id' AND
field_id = '$field_id' AND
extra_field_type = $extraFieldType
field_id = '$field_id'
";
Database::query($sql);
}
Expand Down

0 comments on commit 8a5a595

Please sign in to comment.