Skip to content

Commit

Permalink
Fix invalid query parameter name
Browse files Browse the repository at this point in the history
Regression from 1a8a64d.

Issue #27145
  • Loading branch information
dregad committed Nov 22, 2020
1 parent fbe26fa commit 96fc98c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/user_pref_api.php
Expand Up @@ -487,7 +487,7 @@ function user_pref_db_delete( $p_user_id, $p_project_id ) {
. ' WHERE user_id=:user_id AND project_id=:project_id'
);
$t_query->bind( 'user_id', (int)$p_user_id );
$t_query->bind( '$p_project_id', (int)$p_project_id );
$t_query->bind( 'project_id', (int)$p_project_id );
$t_query->execute();
}

Expand Down

0 comments on commit 96fc98c

Please sign in to comment.