Reviewed & tested by the community
Project:
BlogBuzz
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jun 2010 at 02:14 UTC
Updated:
4 Feb 2011 at 18:36 UTC
Hi, you have missed the language option in your rebuilding link hook.
Which should be
399 if (isset($link['href'])) {
400 $link_options = array('attributes' => $link['attributes'],
401 'query' => $link['query'],
402 'fragment' => $link['fragment'],
403 'absolute' => FALSE,
404 'html' => $html,
405 'language' => $link['language']); // <----
406 $output .= l($link['title'], $link['href'], $link_options);
407 }
Otherwise this may cause all the other lauanges lost the prefix of that lauange link.
I have attached a patch file.
thanks
| Comment | File | Size | Author |
|---|---|---|---|
| blogbuzz-multilanguage-template.patch | 1.01 KB | wqmeng |
Comments
Comment #1
cannedbrain commentedThanks! This solved my problem with a multilingual site.
Comment #2
manuel.adanThank you too for the patch, it should be ported into dev.