From b94eb8bef8cb5494be1b6daef77718dc0eb91f8b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 11 Dec 2011 05:53:23 +0000 Subject: [PATCH] Exclude 'index.php' linking in all modules except 'index' --- inc/mysql-manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 8f807e7ca8..50b4e88d02 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -270,7 +270,7 @@ ORDER BY } // END - if // Is ext-sql_patches up-to-date, and display_home_in_index is Y? - if ((isExtensionInstalledAndNewer('sql_patches', '0.8.3')) && (isDisplayHomeInIndexEnabled()) && ($content['sub_what'] == getIndexHome())) { + if ((getModule() == 'index') && (isExtensionInstalledAndNewer('sql_patches', '0.8.3')) && (isDisplayHomeInIndexEnabled()) && ($content['sub_what'] == getIndexHome())) { // Use index.php as link $OUT .= ''; } else { -- 2.39.5