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()) {