Skip to content

Commit

Permalink
Missing db_param call
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Dec 21, 2008
1 parent 1016312 commit d032129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/custom_field_api.php
Expand Up @@ -719,7 +719,7 @@ function custom_field_destroy( $p_field_id ) {

# delete the definition
$query = "DELETE FROM $t_custom_field_table
WHERE id=";
WHERE id=" . db_param();
db_query_bound( $query, Array( $c_field_id ) );

custom_field_clear_cache( $p_field_id );
Expand Down

0 comments on commit d032129

Please sign in to comment.