From 00a124dd9455bfeebb09b5c86a9428e9a8949f2f Mon Sep 17 00:00:00 2001 From: cigamit Date: Mon, 26 Jun 2017 20:00:48 -0500 Subject: [PATCH] Minor format change for readability --- lib/html.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/html.php b/lib/html.php index 71e59cc4a..35d437719 100644 --- a/lib/html.php +++ b/lib/html.php @@ -1335,7 +1335,12 @@ function html_show_tabs_left() { if ($config['poller_id'] > 1 && $config['connection'] != 'online') { // Only show external links when online } else { - $external_links = db_fetch_assoc('SELECT id, title FROM external_links WHERE style="TAB" AND enabled="on" ORDER BY sortorder'); + $external_links = db_fetch_assoc('SELECT id, title + FROM external_links + WHERE style="TAB" + AND enabled="on" + ORDER BY sortorder'); + if (sizeof($external_links)) { foreach($external_links as $tab) { if (is_realm_allowed($tab['id']+10000)) {