Korrektur beim Erzeugen von Übersicht-Seiten, Deaktivierte Elemente waren in Übersicht

This commit is contained in:
2016-09-30 06:52:41 +00:00
parent b3c7c2eeb0
commit fe5e353753
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

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

View File

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