From fe5e353753e8ead8305ba3002ddbc199f1654f0d Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Fri, 30 Sep 2016 06:52:41 +0000 Subject: [PATCH] =?UTF-8?q?Korrektur=20beim=20Erzeugen=20von=20=C3=9Cbersi?= =?UTF-8?q?cht-Seiten,=20Deaktivierte=20Elemente=20waren=20in=20=C3=9Cbers?= =?UTF-8?q?icht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/config_svjf.php | 2 +- administrator/popups/editor/index.php | 2 +- index.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/config_svjf.php b/.config/config_svjf.php index b494cc2..bdfe7d7 100644 --- a/.config/config_svjf.php +++ b/.config/config_svjf.php @@ -12,7 +12,7 @@ if (ENVIRONMENT === 'local') elseif (ENVIRONMENT === 'production') { $svjf['editorUrl'] = $vC['portal']['arrHost']['scheme'] . '://rist-editors.ri-st.de/'; - $svjf['editorVersion'] = '1.0.3'; + $svjf['editorVersion'] = '1.0.4'; } $svjf['webserviceUrl'] = $vC['portal']['hostUrl'] . '/webservices/remote_data.php'; $svjf['grid'] = 24; diff --git a/administrator/popups/editor/index.php b/administrator/popups/editor/index.php index fdbfed4..5959702 100644 --- a/administrator/popups/editor/index.php +++ b/administrator/popups/editor/index.php @@ -72,7 +72,7 @@ if ($specialSite !== false) { if ($specialSite === 'uebersicht') { - $contents = $db->query('SELECT * FROM ' . $prefix . '_' . TBL_NAVI . ' WHERE ' . $prefix . '_navStart = ' . $_GET['navId'] . ' ORDER BY ' . $prefix . '_navSort ASC;'); + $contents = $db->query('SELECT * FROM ' . $prefix . '_' . TBL_NAVI . ' WHERE ' . $prefix . '_navStart = ' . $_GET['navId'] . ' AND ' . $prefix . '_navActive = "Y" ORDER BY ' . $prefix . '_navSort ASC;'); while ($content = $contents->fetch_assoc()) { diff --git a/index.php b/index.php index f8dae1c..c7f262b 100644 --- a/index.php +++ b/index.php @@ -68,7 +68,7 @@ if ($specialSite !== false) { if ($specialSite === 'uebersicht') { - $contents = $db->query('SELECT * FROM ' . $prefix . '_' . TBL_NAVI . ' WHERE ' . $prefix . '_navStart = ' . $_GET['navId'] . ' ORDER BY ' . $prefix . '_navSort ASC;'); + $contents = $db->query('SELECT * FROM ' . $prefix . '_' . TBL_NAVI . ' WHERE ' . $prefix . '_navStart = ' . $_GET['navId'] . ' AND ' . $prefix . '_navActive = "Y" ORDER BY ' . $prefix . '_navSort ASC;'); while ($content = $contents->fetch_assoc()) {