From: Roland Häder Date: Sun, 11 Dec 2011 05:53:23 +0000 (+0000) Subject: Exclude 'index.php' linking in all modules except 'index' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b94eb8bef8cb5494be1b6daef77718dc0eb91f8b;p=mailer.git Exclude 'index.php' linking in all modules except 'index' --- 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 {