link-manager.php assumed register globals was on for one variable

git-svn-id: http://svn.automattic.com/wordpress/trunk@1416 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
jverber 2004-06-11 20:33:08 +00:00
parent 72a8403905
commit 5774c3204d
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ switch ($action) {
if ($user_level < get_settings('links_minadminlevel')) { if ($user_level < get_settings('links_minadminlevel')) {
die(__('You do not have sufficient permissions to edit the links for this blog.')); die(__('You do not have sufficient permissions to edit the links for this blog.'));
} }
$link_id = $_GET["link_id"];
$row = $wpdb->get_row("SELECT * $row = $wpdb->get_row("SELECT *
FROM $wpdb->links FROM $wpdb->links
WHERE link_id = $link_id"); WHERE link_id = $link_id");