From 34c792ccc8f7d12cad943b8487131311bf0c7bf4 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 4 Dec 2007 23:59:16 +0000 Subject: [PATCH] Use correct var. Props DD32. fixes #5419 git-svn-id: https://develop.svn.wordpress.org/trunk@6353 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/bookmark.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php index 1baf608972..1a3f47e6ca 100644 --- a/wp-includes/bookmark.php +++ b/wp-includes/bookmark.php @@ -4,7 +4,7 @@ function get_bookmark($bookmark_id, $output = OBJECT, $filter = 'raw') { global $wpdb; $link = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->links WHERE link_id = %d LIMIT 1", $bookmark_id)); - $link->link_category = array_unique( wp_get_object_terms($link_id, 'link_category', 'fields=ids') ); + $link->link_category = array_unique( wp_get_object_terms($link->link_id, 'link_category', 'fields=ids') ); $link = sanitize_bookmark($link, $filter);