From bd3a53f1e7e80f2b73c1407cf52627a94cdc8f3d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 31 Jan 2009 16:57:01 +0000 Subject: [PATCH] Target is used in bookmarks --- htdocs/bookmarks/bookmarks.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/bookmarks/bookmarks.lib.php b/htdocs/bookmarks/bookmarks.lib.php index 4af8e71dc92..5ecef2061a2 100644 --- a/htdocs/bookmarks/bookmarks.lib.php +++ b/htdocs/bookmarks/bookmarks.lib.php @@ -64,14 +64,14 @@ function printBookmarksList ($aDb, $aLangs) // Menu with all bookmarks if (! empty($conf->global->BOOKMARKS_SHOW_IN_MENU)) { - $sql = "SELECT rowid, title, url FROM ".MAIN_DB_PREFIX."bookmark"; + $sql = "SELECT rowid, title, url, target FROM ".MAIN_DB_PREFIX."bookmark"; if (! $user->admin) $sql.= " WHERE (fk_user = ".$user->id." OR fk_user is NULL OR fk_user = 0)"; if ($resql = $db->query($sql) ) { $i=0; while ($i < $conf->global->BOOKMARKS_SHOW_IN_MENU && $obj = $db->fetch_object($resql)) { - $ret.='