} // 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 {