Closed (fixed)
Project:
Mime Mail
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2016 at 05:19 UTC
Updated:
28 May 2017 at 14:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
hussainwebHere is a fix.
Comment #3
hussainwebI don't know how that happened. Here's the correct patch.
Comment #4
hansfn commentedI have one question about your patch. Why the change from
$args[0]to$args[1]. I created a similar patch for my site, but didn't include that change.Comment #5
hussainwebIts quite some time now, so I don't remember the details. The best I can remember is that in my testing, the $path started with a '/' (another change) which makes $args[0] useless. The actual language code we want to check would be in $args[1]. I have been using this patch since then and it is working fine on my site. Please let me know if you find something wrong in your testing.
Comment #6
damienmckennaSeems like this is related to #2807649: Links are not generated correctly when site is in subdirectory.
It'd be good to finish and add to the 1.0 release.
Comment #7
damienmckennaThere's a possible duplicate of this: #2790849: Warning thrown when getting a list of enabled languages
Comment #8
hussainwebRerolling since the patch doesn't apply anymore
Comment #10
sgabe commentedCommitted, thanks!