From 1a98124b2cd70f905be4443db4eff0cab0ce4b5e Mon Sep 17 00:00:00 2001 From: westi Date: Sun, 27 Jul 2008 08:40:29 +0000 Subject: [PATCH] Remove extra } from query. Fixes #7416 for trunk. git-svn-id: http://svn.automattic.com/wordpress/trunk@8467 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/user.php b/wp-admin/includes/user.php index 21073babaa..a87535a80a 100644 --- a/wp-admin/includes/user.php +++ b/wp-admin/includes/user.php @@ -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 @@ -392,4 +392,4 @@ class WP_User_Search { } endif; -?> \ No newline at end of file +?>