Skip to content

Commit

Permalink
Remove extra } from query. Fixes #7416 for 2.6.1. Props docwhat.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.automattic.com/wordpress/branches/2.6@8468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
westi committed Jul 27, 2008
1 parent 2082b3c commit 6be605a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wp-admin/includes/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ function wp_delete_user($id, $reassign = 'novalue') {
} else {
$reassign = (int) $reassign;
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->posts SET post_author = %d WHERE post_author = %d", $reassign, $id) );
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d}", $reassign, $id) );
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d", $reassign, $id) );
}

// FINALLY, delete user
Expand Down Expand Up @@ -392,4 +392,4 @@ function is_search() {
}
endif;

?>
?>

0 comments on commit 6be605a

Please sign in to comment.