Update param_ihm.php

This commit is contained in:
Laurent Destailleur 2023-02-19 03:00:02 +01:00 committed by GitHub
parent b3e54b5ed2
commit 7454e6cbf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,9 +215,8 @@ if (isModEnabled('ticket')) {
$tmparray['ticket/list.php?mainmenu=ticket&leftmenu='] = 'Tickets';
}
// add bookmarks to available landing pages
if (!empty($conf->global->MAIN_USE_BOOKMARKS_FOR_LANDING_PAGES)) {
$sql = "SELECT b.rowid, b.fk_user, b.url, b.title,";
if (empty($conf->global->MAIN_NO_BOOKMARKS_FOR_LANDING_PAGES)) {
$sql = "SELECT b.rowid, b.fk_user, b.url, b.title";
$sql .= " FROM ".MAIN_DB_PREFIX."bookmark as b";
$sql .= " WHERE b.entity IN (".getEntity('bookmark').")";
$sql .= " AND b.url NOT LIKE 'http%'";