Hello,

I think line 36 in file page.tpl.php should be changed from:

<a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>

to:

<a href="<?php print check_url($front_page) ?>" title="<?php print t('Home') ?>"><img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" /></a>

and line 40 should be changed from:

<h1><a href="<?php print $base_path ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>

to:

<h1><a href="<?php print check_url($front_page) ?>" title="<?php print t('Home'); ?>"><?php print $site_name; ?></a></h1>

Without this change, the site name points at wrong page when using i18n module and multiple languages. Garland also uses the check_url() function for this.

I hope you don't mind I inserted code into description directly instead of creating .patch file. I didn't feel like it's needed for such little change, but I'm indeed sorry if patch was a better solution :-)

Files: 

Comments

jwolf’s picture

Status: Active » Fixed

fixed in 2.x

sinasalek’s picture

Patch against 1.9 using the solution provided by @miloso

You can find version 1.x patched version here

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.