Exclude 'index.php' linking in all modules except 'index'
authorRoland Häder <roland@mxchange.org>
Sun, 11 Dec 2011 05:53:23 +0000 (05:53 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 11 Dec 2011 05:53:23 +0000 (05:53 +0000)
inc/mysql-manager.php

index 8f807e7ca838a0309ba58628137e26836ee9a462..50b4e88d02489c41851c72c2c4c821c64336099c 100644 (file)
@@ -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 .= '<a name="menu" class="menu_blur" href="{%url=index.php%}" target="_self">';
                                                } else {